Class MMapFunctor represents a functor for the map skeleton of the distributed matrix. More...
#include <functors.h>
Public Member Functions | |
virtual MSL_USERFUNC R | operator() (T value) const =0 |
Function call operator has to be implemented by the user. Here, the actual function is implemented. More... | |
virtual | ~MMapFunctor () |
Destructor. | |
![]() | |
void | init (int nl, int ml, int fr, int fc) |
Initializes its attributes. More... | |
![]() | |
FunctorBase () | |
Default constructor. | |
bool | useLocalIndices () const |
Checks whether indices are local or global. More... | |
void | setLocalIndices (bool value) |
Use this function to configure your functor to use local indices instead of global indices. More... | |
int | getTileWidth () const |
Returns the tile_width. If tiling is not used, -1 will be returned. More... | |
void | setTileWidth (int value) |
Sets the tile width. More... | |
void | notify () |
Notifies all observed objects (additional arguments) to update. | |
void | addArgument (ArgumentType *arg) |
Adds an additional argument to the functor. More... | |
virtual | ~FunctorBase () |
Destructor. | |
Additional Inherited Members | |
![]() | |
int | nLocal |
int | mLocal |
int | firstRow |
int | firstCol |
![]() | |
std::vector< ArgumentType * > | args |
int | tile_width |
bool | local_indices |
Class MMapFunctor represents a functor for the map skeleton of the distributed matrix.
T | Input data type. |
R | Output data type. |
|
pure virtual |
Function call operator has to be implemented by the user. Here, the actual function is implemented.
value | Input for the map function. |