Function stats::mean [] [src]

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

Compute the mean of a stream in constant space.