Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
Tpetra::Details::Transform< ExecutionSpace, GlobalDataStructure > Struct Template Reference

Specialize this class to implement Tpetra::transform for specific GlobalDataStructure types. More...

#include <Tpetra_transform.hpp>

Static Public Member Functions

template<class UnaryFunctionType >
static void transform (const char kernelLabel[], ExecutionSpace execSpace, GlobalDataStructure &input, GlobalDataStructure &output, UnaryFunctionType f)
 Unary transform: output_i = f(input_i). More...
 
template<class BinaryFunctionType >
static void transform (const char kernelLabel[], ExecutionSpace execSpace, GlobalDataStructure &input1, GlobalDataStructure &input2, GlobalDataStructure &output, BinaryFunctionType f)
 Binary transform: output_i = f(input1_i, input2_i). More...
 

Detailed Description

template<class ExecutionSpace, class GlobalDataStructure>
struct Tpetra::Details::Transform< ExecutionSpace, GlobalDataStructure >

Specialize this class to implement Tpetra::transform for specific GlobalDataStructure types.

Definition at line 113 of file Tpetra_transform.hpp.

Member Function Documentation

template<class ExecutionSpace , class GlobalDataStructure >
template<class UnaryFunctionType >
static void Tpetra::Details::Transform< ExecutionSpace, GlobalDataStructure >::transform ( const char  kernelLabel[],
ExecutionSpace  execSpace,
GlobalDataStructure &  input,
GlobalDataStructure &  output,
UnaryFunctionType  f 
)
static

Unary transform: output_i = f(input_i).

template<class ExecutionSpace , class GlobalDataStructure >
template<class BinaryFunctionType >
static void Tpetra::Details::Transform< ExecutionSpace, GlobalDataStructure >::transform ( const char  kernelLabel[],
ExecutionSpace  execSpace,
GlobalDataStructure &  input1,
GlobalDataStructure &  input2,
GlobalDataStructure &  output,
BinaryFunctionType  f 
)
static

Binary transform: output_i = f(input1_i, input2_i).


The documentation for this struct was generated from the following file: