Click or drag to resize

MatrixTPointwiseUnary(ActionMatrixT, MatrixT) Method

Helper function to apply a unary function which modifies a matrix in place.

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

Parameters

f  ActionMatrixT
Function which takes a matrix, modifies it in place and returns void
result  MatrixT
The matrix to be passed to f and where the result is to be stored
Exceptions
ExceptionCondition
ArgumentExceptionIf this vector and result are not the same size.
See Also