You are here: Symbol Reference > MtxExprInt Namespace > Classes > VectorInt Record > public > CumSum Method > VectorInt.CumSum Method (TVecInt)
MtxVec VCL
ContentsIndex
PreviousUpNext
VectorInt.CumSum Method (TVecInt)

Calculate the cumulative sum for all Vec elements.

Pascal
function CumSum(const Vec: TVecInt): TVecInt; overload;

Store the results in calling object. Size and IntPrecision properties of the calling object are set implicitly.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!