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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic void Map(
Func<T, T> f,
Matrix<T> result,
Zeros zeros = Zeros.AllowSkip
)
Parameters
- f FuncT, T
- The mapping function to apply to each value.
- result MatrixT
- The matrix that receives the mapped values.
- zeros Zeros (Optional)
- Controls whether zero values may be skipped.
See Also