Click or drag to resize

BandDoubleMatrixMapIndexedT1(T1, FuncInt32, Int32, Double, T1, Double, IMatrixDouble, Zeros) Method

Applies the specified function to each element of the matrix, with an additional source parameter, and with the option to specify a result matrix and treatment of zeros.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public void MapIndexed<T1>(
	T1 sourceParameter1,
	Func<int, int, double, T1, double> function,
	IMatrix<double> result,
	Zeros zeros = Zeros.AllowSkip
)

Parameters

sourceParameter1  T1
The additional source parameter.
function  FuncInt32, Int32, Double, T1, 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.

Type Parameters

T1
The type of the additional source parameter.

Implements

IROMatrixLevel1TMapIndexedT1(T1, FuncInt32, Int32, T, T1, T, IMatrixT, Zeros)
See Also