Skip to main content

std_dev

Function std_dev 

Source
pub fn std_dev(v: &[f64]) -> f64
Expand description

Sample standard deviation (divides by n − 1).

Returns f64::NAN when fewer than two values are supplied — matching the report/align-report summary helpers this replaces.