You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TMtx Class
>
TMtx Methods
>
CumSum Method
>
TMtx.CumSum Method ()
Dew Math for .NET
Example
TMtx.CumSum Method ()
var Mtx:
TMtx
; begin Mtx := TMtx.Create;
try
Mtx.Size(3,2,
false
,[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