MatrixMathMap(IROMatrixDouble, IROMatrixDouble, FuncDouble, Double, Double, IMatrixDouble) Method |
Elementwise application of a function to each element of two matrices. The result is stored in another matrix or in the same matrix.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void Map(
IROMatrix<double> src1,
IROMatrix<double> src2,
Func<double, double, double> function,
IMatrix<double> result
)
Parameters
- src1 IROMatrixDouble
- First matrix to use the values from.
- src2 IROMatrixDouble
- Second matrix to use the values from.
- function FuncDouble, Double, Double
- Function to be applied to each element of src1 and src2.
- result IMatrixDouble
- Matrix to store the result. This may be the same instance as one of the matrices src1 or src2.
See Also