Click or drag to resize

VectorTPointwiseUnary(ActionVectorT, VectorT) Method

Helper function to apply a unary function which modifies a vector 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<Vector<T>> f,
	Vector<T> result
)

Parameters

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