Click or drag to resize

VectorTPointwiseBinary(ActionT, VectorT, T, VectorT) Method

Helper function to apply a binary function which takes a scalar and a vector, modifies the latter in place and returns void.

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

Parameters

f  ActionT, VectorT
Function which takes a scalar and a vector, modifies the vector in place and returns void
x  T
The scalar to be passed to the function
result  VectorT
The vector where the result will be placed
Exceptions
ExceptionCondition
ArgumentExceptionIf this vector and result are not the same size.
See Also