System.Math.StdDev
From RAD Studio API Documentation
Revision as of 16:18, 16 October 2011 by TestAccount (Talk | contribs)
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(float const *Data, const int Data_Size)/* overload */;
Contents |
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).