Click or drag to resize

MatrixTMapIndexedInplace Method

Applies a function to each value of this matrix and replaces the value with its result. The row and column indices of each value (zero-based) are passed as first arguments to the function. 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.3572.0 (4.8.3572.0)
Syntax
C#
public void MapIndexedInplace(
	Func<int, int, T, T> f,
	Zeros zeros = Zeros.AllowSkip
)

Parameters

f  FuncInt32, Int32, T, T
The mapping function to apply to each indexed value.
zeros  Zeros  (Optional)
Controls whether zero values may be skipped.
See Also