Crate movavg[][src]

Moving Average

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

Cargo Features

  • std - If the cargo feature std is given, then all features that depend on the std library are enabled. This feature is enabled by default. Use default-features = false in your Cargo.toml to disable this feature. This crate is independent of the std library, if this feature is disabled.



Simple Moving Average (SMA)



Internal accumulator calculation trait for integers and floats.