function RMS: double; reintroduce; overload;
Root mean squared of all non-zero elements.
Returns: double
Examples
var a: Matrix;
c: double;
begin
a := [[1,2,3,4]];
c := a.RMS;
end;
Indexed: function RMS(Index, Len: integer): double; overload;
Calculate the RMS for calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | integer | start index |
| 2 | Len | integer | element count |
Returns: double
Remarks:
An exception is raised if array borders are overrun.