Function mean
pub fn mean(values: &[f64]) -> Result<f64, StatisticsError>Expand description
Returns the arithmetic mean 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.