BandDoubleMatrixMapIndexed(FuncInt32, Int32, Double, Double, IMatrixDouble, Zeros) Method |
Applies the specified function to each element of the matrix, with the option to specify a result matrix and treatment of zeros.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic void MapIndexed(
Func<int, int, double, double> function,
IMatrix<double> result,
Zeros zeros = Zeros.AllowSkip
)
Parameters
- function FuncInt32, Int32, Double, Double
- The function to apply to each element.
- result IMatrixDouble
- The matrix to store the results in.
- zeros Zeros (Optional)
- Specifies how to treat zero elements.
Implements
IROMatrixLevel1TMapIndexed(FuncInt32, Int32, T, T, IMatrixT, Zeros)
See Also