Click or drag to resize

MatrixTMap(FuncT, T, MatrixT, Zeros) Method

Applies a function to each value of this matrix and replaces the value in the result matrix. If forceMapZero is not set to true, zero values may or may not be skipped depending on the actual data storage implementation (relevant mostly for sparse matrices).

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void Map(
	Func<T, T> f,
	Matrix<T> result,
	Zeros zeros = Zeros.AllowSkip
)

Parameters

f  FuncT, T

[Missing <param name="f"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Map(System.Func{`0,`0},Altaxo.Calc.LinearAlgebra.Matrix{`0},Altaxo.Calc.LinearAlgebra.Zeros)"]

result  MatrixT

[Missing <param name="result"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Map(System.Func{`0,`0},Altaxo.Calc.LinearAlgebra.Matrix{`0},Altaxo.Calc.LinearAlgebra.Zeros)"]

zeros  Zeros  (Optional)

[Missing <param name="zeros"/> documentation for "M:Altaxo.Calc.LinearAlgebra.Matrix`1.Map(System.Func{`0,`0},Altaxo.Calc.LinearAlgebra.Matrix{`0},Altaxo.Calc.LinearAlgebra.Zeros)"]

See Also