pub fn standard_deviation(data: &Vec<f32>) -> Option<f32>
Expand description
Calculates the standard deviation of a vector.
This function returns an Option<f32>
because the standard deviation is
undefined for an empty vector or a vector with a single element.