Each value in the returned array is the cumulative signed sum of all of the previous values up to and including the current value of the argument. The Shape of the returned value will be the same as that of the argument. .
Syntax
object.McCumulativeSum(ArrayToSum)
The McCumulativeSum Method syntax has these parts:
Part
Description
object
An expression evaluating to an object of type McOMGlobal.
ArrayToSum
Required. A Variant value.
May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type.