Function stats::mean

source ·
pub fn mean<'a, I, T>(x: I) -> f64
where I: IntoIterator<Item = T>, T: Into<&'a f64>,
Expand description

Compute the mean of a stream in constant space.