Class MMapIndexFunctor represents a functor for the mapIndex skeleton of the distributed matrix.
More...
#include <functors.h>
|
int | nLocal |
|
int | mLocal |
|
int | firstRow |
|
int | firstCol |
|
std::vector< ArgumentType * > | args |
|
int | tile_width |
|
bool | local_indices |
|
template<typename T, typename R>
class msl::MMapIndexFunctor< T, R >
Class MMapIndexFunctor represents a functor for the mapIndex skeleton of the distributed matrix.
- Template Parameters
-
T | Input data type. |
R | Output data type. |
template<typename T , typename R >
virtual MSL_USERFUNC R msl::MMapIndexFunctor< T, R >::operator() |
( |
int |
rowIndex, |
|
|
int |
colIndex, |
|
|
T |
value |
|
) |
| const |
|
pure virtual |
Function call operator has to be implemented by the user. Here, the actual function is implemented.
- Parameters
-
rowIndex | Global row index of the input value. |
colIndex | Global column index of the input value. |
value | Input for the map function. |
- Returns
- Output of the map function.
The documentation for this class was generated from the following file: