Generic Moving Average calculation for the integer types
- i8, i16, i32, i64, i128, isize
- u8, u16, u32, u64, u128, usize
and float types
- f32, f64
std- If the cargo feature
stdis given, then all features that depend on the
stdlibrary are enabled. This feature is enabled by default. Use
default-features = falsein your
Cargo.tomlto disable this feature. This crate is independent of the
stdlibrary, if this feature is disabled.
Simple Moving Average (SMA)
Internal accumulator calculation trait for integers and floats.