System.Math.PopnVariance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PopnVariance(const Data: array of Single): Single;
function PopnVariance(const Data: array of Double): Double;
function PopnVariance(const Data: array of Extended): Extended;

C++

extern DELPHI_PACKAGE float __fastcall PopnVariance(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

Calculates the population variance.

PopnVariance calculates the population variance of all values in the Data array parameter, using the n method (biased): TotalVariance / n. In C++,. the Data_Size parameter is the index of the last value in the Data array (one less than the number of data items).

See Also