MathVariance

The function calculates the variance (second moment) of array elements.

double  MathVariance(
   const double&  array[]   // array of values
   )

Parameters

array[]

[in] Array of values. 

Return Value

Value of the variance.