Click or drag to resize

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

Applies a function to each value pair of two matrices and returns the results as a new matrix.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public Matrix<T> Map2(
	Func<T, T, T> f,
	Matrix<T> other,
	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.
zeros  Zeros  (Optional)
Controls whether zero values may be skipped.

Return Value

MatrixT
A new matrix containing the mapped values.
See Also