Function compute::statistics::var[][src]

pub fn var(data: &[f64]) -> f64
Expand description

Calculates the population variance from an array of data points in a numerically stable manner using the Welford algorithm.