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