Click or drag to resize

MatrixTPointwiseBinary(ActionMatrixT, MatrixT, MatrixT, MatrixT) Method

Helper function to apply a binary function which takes two matrices and modifies the second one in place

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected void PointwiseBinary(
	Action<Matrix<T>, Matrix<T>> f,
	Matrix<T> other,
	Matrix<T> result
)

Parameters

f  ActionMatrixT, MatrixT
Function which takes two matrices, modifies the second in place and returns void
other  MatrixT
The other matrix to be passed to the function as argument. It is not modified
result  MatrixT
The matrix to store the result.

Return Value

The resulting matrix
Exceptions
ExceptionCondition
ArgumentExceptionIf this matrix and other are not the same dimension.
See Also