System.Math.StdDev
Delphi
function StdDev(const Data: array of Single): Single;
function StdDev(const Data: array of Double): Double;
function StdDev(const Data: array of Extended): Extended;
C++
extern DELPHI_PACKAGE float __fastcall StdDev(const float *Data, const int Data_High)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Returns the sample standard deviation for elements in an array.
StdDev calculates the sample standard deviation (the square root of the sample variance) of all values in the Data array parameter. In C++, Data_Size indicates the index of the last element in the array (one less than the number of elements).