You are here: Symbol Reference > MtxVecInt Namespace > Classes > TMtxInt Class > public > CumSum Method > TMtxInt.CumSum Method ()
MtxVec VCL
ContentsIndex
Example
var Mtx: TMtxInt; begin Mtx := TMtxInt.Create; try Mtx.Size(3,2,[1,2, 2,5, 3,1]); Mtx.CumSum; // Mtx becomes: // 1, 2 // 3, 7 // 6, 8 finally Mtx.Free; end; end;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.