NTPoly
Static Public Member Functions | List of all members
NTPoly::MatrixMapper Class Reference

This class is used to apply an operation to each element in the matrix. More...

#include <MatrixMapper.h>

Static Public Member Functions

static void Map (const Matrix_ps &inmat, Matrix_ps &outmat, RealOperation *proc)
 
static void Map (const Matrix_ps &inmat, Matrix_ps &outmat, ComplexOperation *proc)
 

Detailed Description

This class is used to apply an operation to each element in the matrix.

Member Function Documentation

◆ Map() [1/2]

void NTPoly::MatrixMapper::Map ( const Matrix_ps inmat,
Matrix_ps outmat,
RealOperation proc 
)
static

Given a distributed matrix, apply this procedure to each element (real).

Parameters
inmatthe matrix to apply the procedure to.
outmatthe matrix where each element has had proc called on it.
procthe procedure to apply.

◆ Map() [2/2]

void NTPoly::MatrixMapper::Map ( const Matrix_ps inmat,
Matrix_ps outmat,
ComplexOperation proc 
)
static

Given a distributed matrix, apply this procedure to each element (cmplx).

Parameters
inmatthe matrix to apply the procedure to.
outmatthe matrix where each element has had proc called on it.
procthe procedure to apply.

The documentation for this class was generated from the following files: