Function stats::stddev

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

Compute the standard deviation of a stream in constant space.

Examples found in repository?
src/online.rs (line 16)
10
11
12
13
14
15
16
17
pub fn stddev<'a, I, T>(x: I) -> f64
where
    I: IntoIterator<Item = T>,
    T: Into<&'a f64>,
{
    let it = x.into_iter();
    stddev(it)
}