Click or drag to resize

VectorTPointwiseBinary(ActionT, VectorT, T) Method

Helper function to apply a binary function which takes a scalar and a vector and modifies the latter in place. A copy of the "this" vector is therefore first made and then passed to f together with the scalar argument. 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<T, Vector<T>> f,
	T other
)

Parameters

f  ActionT, VectorT
Function which takes a scalar and a vector, modifies the vector in place and returns void
other  T
The scalar to be passed to the function

Return Value

VectorT
The resulting vector
See Also