RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.StdDev Function

Returns the sample standard deviation for elements in an array.

Pascal
function StdDev(const Data: array of Double): Extended;
C++
Extended StdDev(const array of Double Data);

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). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!