stats

Function mean

Source
pub fn mean<I>(it: I) -> f64
where I: Iterator, <I as Iterator>::Item: ToPrimitive,
Expand description

Compute the mean of a stream in constant space.