Skip to main content

variance

Function variance 

Source
pub fn variance(data: &[f32]) -> f32
Expand description

Population variance of all elements. Returns 0.0 for slices with fewer than two elements.