You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
MatrixInt Structure
>
MatrixInt Methods
>
CumSum Method
>
MatrixInt.CumSum Method ()
Dew Math for .NET
Example
MatrixInt.CumSum Method ()
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-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home