Click or drag to resize

VectorTPointwiseBinary(ActionVectorT, VectorT, VectorT, VectorT) Method

Helper function to apply a binary function which takes two vectors 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<Vector<T>, Vector<T>> f,
	Vector<T> other,
	Vector<T> result
)

Parameters

f  ActionVectorT, VectorT
Function which takes two vectors, modifies the second in place and returns void
other  VectorT
The other vector to be passed to the function as argument. It is not modified
result  VectorT
The resulting vector
Exceptions
ExceptionCondition
ArgumentExceptionIf this vector and other are not the same size.
See Also