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