Function population_variance
pub fn population_variance(values: &[f64]) -> Result<f64, StatisticsError>Expand description
Returns the population variance of values.
ยงErrors
Returns StatisticsError::EmptyInput when values is empty, or
StatisticsError::TooManyValues if the slice length cannot be represented
exactly in the internal floating-point count conversion.