You are here: Symbol Reference > MtxVecInt Namespace > Classes > TVecInt Class > public > CumSum Method > TVecInt.CumSum Method (TVecInt)
MtxVec VCL
ContentsIndex
PreviousUpNext
TVecInt.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!