Expand description
Average helpers for f64 slices.
The crate stays intentionally small and focuses on the most common mean-style summaries without introducing a broader statistics framework.
§Examples
use use_average::{arithmetic_mean, moving_average};
assert_eq!(arithmetic_mean(&[2.0, 4.0, 6.0]).unwrap(), 4.0);
assert_eq!(moving_average(&[1.0, 2.0, 3.0, 4.0], 2).unwrap(), vec![1.5, 2.5, 3.5]);