You are here: Symbol Reference > MtxVecInt Namespace > Classes > TMtxInt Class > public > CumSum Method > TMtxInt.CumSum Method (TMtxInt)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxInt.CumSum Method (TMtxInt)

Calculate the cumulative sum for each of the X matrix columns.

Pascal
function CumSum(const Mtx: TMtxInt): TMtxInt; overload;

Store the results in calling matrix. The Rows, Cols and IntPrecision properties of the callig matrix are adjusted implicitly to match those of Mtx matrix.

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