Click or drag to resize

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.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

VectorT
New instance of vector which is the result
See Also