Function stats::variance

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

Compute the variance of a stream in constant space.