pub fn mean(data: &[f64]) -> f64
Returns the arithmetic mean of data. Returns 0.0 for an empty slice.
data
0.0