Click or drag to resize

NMathFunctionsCumulativeSum(FloatVector) Method

Calculates the a vector containing the cumulative sum of the elements in a given vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector CumulativeSum(
	FloatVector v
)

Parameters

v  FloatVector
A vector.

Return Value

FloatVector
A vector of sums.
Remarks
u[i] = v[0] + v[1] + ... v[i]
See Also