Closed flameoftheforest closed 1 year ago
fn main() { let v = vec![1.0, 1.0, 2.0]; let mut stdev = StDev::new(3, &v[0]).unwrap(); stdev.next(&v[1]); assert_eq!(stdev.next(&v[2]), 0.4714045207910317); }
assert failed.
0.577350269189626
yata
corrected sample standard deviation
thanks for reply. i understand now.
assert failed.