Double RMS
Standard deviation.
Returns: Double
Remarks:
Calculate the standard deviation of all calling object elements. The result is a real value. An exception is raised if calling vector Dew.Math.TOpenCLBase.Complex property is true.
Examples
clVector a;
double c;
double aMean;
a.CopyFromArray(TDoubleArray.Create(1,2,3,4));
Caption = FloatToSTr(a.RMS);
Indexed: Double RMS(Int32 Index, Int32 Len)
Returns the root-mean-square of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Int32 | start index |
| 2 | Len | Int32 | element count |
Returns: Double
Remarks:
An exception is raised if calling object Dew.Math.TOpenCLBase.Complex property is true or if array borders are overrun/underrun.