Overload List
| # | Signature | Description |
|---|---|---|
| 1 | Double StdDev | Standard deviation. |
| └ indexed: Double StdDev(Int32 Index, Int32 Len) | ||
| 2 | Double StdDev(Double ASum, Double aSumSqr) | Returns the standard deviation of all calling object elements. |
| └ indexed: Double StdDev(Double ASum, Double aSumSqr, Int32 Index, Int32 Len) |
Overload 1: Double StdDev
Standard deviation.
Returns: Double
Calculate the standard deviation of all calling object elements. The result is a real value. An exception is raised if calling vector Dew.Math.clVector.Complex property is true.
clVector a;
double c;
double aMean;
a.CopyFromArray(TDoubleArray.Create(1,2,3,4));
Caption = FloatToSTr(a.StdDev);
Indexed: Double StdDev(Int32 Index, Int32 Len)
Returns the standard deviation of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Int32 | start index |
| 2 | Len | Int32 | element count |
Returns: Double
An exception is raised if calling object Dew.Math.clVector.Complex property is true or if array borders are overrun/underrun.
Overload 2: Double StdDev(Double ASum, Double aSumSqr)
Returns the standard deviation of all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ASum | Double | output sum |
| 2 | aSumSqr | Double | scalar |
Returns: Double
The sum and the sum of squares of all calling object elements must be passed as parameters. An exception is raised if calling object Dew.Math.clVector.Complex property is true.
Indexed: Double StdDev(Double ASum, Double aSumSqr, Int32 Index, Int32 Len)
Returns the standard deviation of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ASum | Double | output sum |
| 2 | aSumSqr | Double | scalar |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Returns: Double
The sum and the sum of squares of the coresponding elements must be passed as parameters. An exception is raised if calling object Dew.Math.clVector.Complex property is true or if array borders are overrun/underrun.