pub fn std_dev_f32_with_mean(samples: &[f32], mean: f32) -> f32
Compute sample standard deviation for f32 data given a pre-computed mean.