VectorInt CumSum(TVecInt Vec)
Calculate the cumulative sum for all Vec elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TVecInt | source TVecInt |
Returns: VectorInt
Remarks:
Size and Dew.Math.VectorInt.IntPrecision properties of the result are adjusted automatically.