Click or drag to resize

NMathFunctionsCumulativeSum(DoubleVector) 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 DoubleVector CumulativeSum(
	DoubleVector v
)

Parameters

v  DoubleVector
A vector.

Return Value

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