IROMatrixLevel1TMapIndexedT1(T1, FuncInt32, Int32, T, T1, T, IMatrixT, Zeros) Method |
Elementwise mapping of a function to the elements of a matrix, and storing the result in another matrix.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax void MapIndexed<T1>(
T1 sourceParameter1,
Func<int, int, T, T1, T> function,
IMatrix<T> result,
Zeros zeros = Zeros.AllowSkip
)
Parameters
- sourceParameter1 T1
- Additional auxilary parameter to be passed to the function.
- function FuncInt32, Int32, T, T1, T
- The function to apply. First arg in the row index, 2nd arg the column index, 3rd arg the matrix element, and 4th arg the parameter given in sourceParameter1.
- result IMatrixT
- The matrix where to store the result.
- zeros Zeros (Optional)
- Designates if zero elements (i.e. banded or sparse matrices) are allowed to omit in the mapping.
Type Parameters
- T1
[Missing <typeparam name="T1"/> documentation for "M:Altaxo.Calc.LinearAlgebra.IROMatrixLevel1`1.MapIndexed``1(``0,System.Func{System.Int32,System.Int32,`0,``0,`0},Altaxo.Calc.LinearAlgebra.IMatrix{`0},Altaxo.Calc.LinearAlgebra.Zeros)"]
See Also