MtxExprInt.CumSum Method

VectorInt CumSum(TVecInt Vec)

Calculate the cumulative sum for all Vec elements.

#NameTypeDescription
1VecTVecIntsource TVecInt

Returns: VectorInt

Remarks:

Size and Dew.Math.VectorInt.IntPrecision properties of the result are adjusted automatically.