Click or drag to resize

NMathFunctionsCumulativeProduct(DoubleVector) Method

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

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleVector CumulativeProduct(
	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