Click or drag to resize

IMcOMGlobalMcCumulativeSum Method

Does a cumulative sum of the argument array's values.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function McCumulativeSum ( 
	ArrayToSum As Object
) As McObject

Parameters

ArrayToSum
Type: SystemObject
May be a scalar or array of any numeric type. It may also be an McObject instance of a numeric type.

Return Value

Type: McObject
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. .
Examples
VB
Debug.Print McToText( McCumulativeSum( Array(1.2, 3.4, 0.6))) 'show 1.2 4.6 5.2
See Also