Click or drag to resize

Matrix<T>.PointwiseBinary(Action<Matrix<T>, Matrix<T>>, Matrix<T>, Matrix<T>) 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.3261.0 (4.8.3261.0)
Syntax
C#
protected void PointwiseBinary(
	Action<Matrix<T>, Matrix<T>> f,
	Matrix<T> other,
	Matrix<T> result
)

Parameters

f  Action<Matrix<T>, Matrix<T>>
Function which takes two matrices, modifies the second in place and returns void
other  Matrix<T>
The other matrix to be passed to the function as argument. It is not modified
result  Matrix<T>
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