Skip to main content

std_dev

Function std_dev 

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

Returns the unbiased sample standard deviation of data.

Returns 0.0 for slices with fewer than 2 elements.