VectorTPointwiseUnary(ActionVectorT) Method |
Helper function to apply a unary function to a vector. The function
f modifies the vector given to it in place. Before its
called, a copy of the 'this' vector with the same dimension is
first created, then passed to f. The copy is 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> PointwiseUnary(
Action<Vector<T>> f
)
Parameters
- f ActionVectorT
- Function which takes a vector, modifies it in place and returns void
Return Value
VectorTNew instance of vector which is the result
See Also