incr_stats 1.0.1

Fast, scalable, incremental descriptive statistics in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub type Result<T> = std::result::Result<T, StatsError>;

#[derive(Debug, Copy, Clone, PartialEq, thiserror::Error)]
pub enum StatsError {
    #[error("not enough data")]
    NotEnoughData,
    #[error("data produces undefined values")]
    Undefined,
    #[error("data contains NaNs or Infs")]
    InvalidData,
}