Chart for .NET / User's Guide / Data Manipulation / Functions / Math Functions / Cumulative

In This Topic
    Cumulative
    In This Topic
     Syntax
    CUMSUM(arg1)
     Arguments
    The 'arg1' parameter must be an array.
     Result
    The function result is an array with the same size as 'arg1'.
     Description

    The function calculates the cumulative sum of the elements in the input array. Each element of the result is equal to the previous element of the result plus the current element of the input array.

    Example:

    Expression: CUMSUM(arg1)

    arg1 5.8 3.2 1.0 6.9 1.7
    result 5.8 9 10 16.9 18.6
     Related Examples
    Windows Forms: All Examples\Data Manipulation\Functions\Statistical\Power, Cumulative, Exp. Average