MtxExprInt.CumSum Method

function CumSum(const Vec: TVecInt): VectorInt;

Calculate the cumulative sum for all Vec elements.

#NameTypeDescription
1VecTVecInt

Returns: VectorInt

Remarks:

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