Click or drag to resize

MatrixTMap2(FuncT, T, T, MatrixT, MatrixT, Zeros) Method

Applies a function to each value pair of two matrices and replaces the value in the result vector.

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

Parameters

f  FuncT, T, T
The mapping function to apply to each pair of values.
other  MatrixT
The other matrix supplying the second value of each pair.
result  MatrixT
The matrix that receives the mapped values.
zeros  Zeros  (Optional)
Controls whether zero values may be skipped.
See Also