Skip to main content

mean

Function mean 

Source
pub fn mean(data: &[f64]) -> f64
Expand description

Compute the mean of a slice of values.

Returns 0.0 for an empty slice.