Matrix Maps
- class NTPolySwig.MatrixMapper
This class is used to apply an operation to each element in the matrix.
- static Map(*args)
- Overload 1:
Given a distributed matrix, apply this procedure to each element (real).:type inmat:
Matrix_ps
- Parameters:
inmat – the matrix to apply the procedure to.:type outmat:
Matrix_ps
outmat – the matrix where each element has had proc called on it.:type proc:
RealOperation
proc – the procedure to apply.
- Overload 2:
Given a distributed matrix, apply this procedure to each element (cmplx).:type inmat:
Matrix_ps
- Parameters:
inmat – the matrix to apply the procedure to.:type outmat:
Matrix_ps
outmat – the matrix where each element has had proc called on it.:type proc:
ComplexOperation
proc – the procedure to apply.
- property thisown
The membership flag