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.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
VectorTThe resulting vector
See Also