Function engram::statistics::pop_std

source ·
pub fn pop_std<T: Into<f64> + Copy + Add + Sub>(data: &[T]) -> f64
Expand description

Returns the population standard deviation of a list of values.

§Examples

let values = vec![1.0, 2.0, 3.0, 4.0, 5.0];
let pop_std = pop_std(&values);