You are here: Symbol Reference > MtxExprInt Namespace > Classes > MatrixInt Record > public > CumSum Method > MatrixInt.CumSum Method (TMtxInt)
MtxVec VCL
ContentsIndex
PreviousUpNext
MatrixInt.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!