[][src]Function stats::mean

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

Compute the mean of a stream in constant space.