procedure MeanAndStdDev(var aMean, aStdDev: double); overload;
Returns the standard deviation of all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aMean | double | scalar |
| 2 | aStdDev | double | scalar |
Result: stored in self (calling object)
Remarks:
The average of all calling object elements must be passed as a AMean parameter. An exception is raised if calling object TMtxVec.Complex property is true.
Indexed: procedure MeanAndStdDev(var aMean, aStdDev: double; Index, Len: integer); overload;
Returns the standard deviation of calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aMean | double | scalar |
| 2 | aStdDev | double | scalar |
| 3 | Index | integer | start index |
| 4 | Len | integer | element count |
Result: stored in self (calling object)
Remarks:
The average of the coresponding elements must be passed as a parameter. An exception is raised if calling object TMtxVec.Complex property is true or if array borders are overrun/underrun.