Click or drag to resize

VectorTPointwiseBinary(ActionVectorT, VectorT, VectorT) Method

Helper function to apply a binary function which takes two vectors and modifies the latter in place. A copy of the "this" vector is first made and then passed to f together with the other vector. The copy is then returned as the result

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

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

Return Value

VectorT
The resulting vector
Exceptions
ExceptionCondition
ArgumentExceptionIf this vector and other are not the same size.
See Also