Skip to main content

hopr_utils/statistics/
mod.rs

1#[cfg(feature = "statistics-types-moving")]
2pub mod moving;
3
4#[cfg(feature = "statistics-types-moving")]
5pub use moving::{
6    exponential::ExponentialMovingAverage,
7    simple::{NoSumSMA, SMA, SingleSumSMA},
8};
9
10#[cfg(feature = "statistics-types-weighted")]
11pub mod weighted;
12
13#[cfg(feature = "statistics-types-weighted")]
14pub use weighted::WeightedCollection;