Go to file
Vinzent Steinberg a76014227c Fix macros in combination with serde1 feature
Before, the feature would be resolved in the crate where the macro was used,
not in the `average` crate as intended.  Now, the macros are defined depending
on the `serde1` feature, fixing this issue.
2019-07-31 16:22:55 +02:00
benches Fix clippy warnings 2019-07-08 17:32:44 +02:00
src Fix macros in combination with serde1 feature 2019-07-31 16:22:55 +02:00
tests Histogram: Add serialization test 2019-07-09 12:19:00 +02:00
.gitignore Initial commit 2017-04-26 20:24:20 +02:00
.travis.yml Increase minimal required Rust version (due to dependencies) 2019-05-22 16:30:47 +02:00
Cargo.toml Bump version 2019-07-09 12:19:33 +02:00
LICENSE-APACHE Include license verbatim 2017-11-19 11:07:58 +01:00
LICENSE-MIT Include license verbatim 2017-11-19 11:07:58 +01:00
README.md Increase minimal required Rust version (due to dependencies) 2019-05-22 16:30:47 +02:00

average

Calculate statistics of a sequence iteratively in a single pass, using constant space and avoiding numerical problems. The calculations can be easily parallelized by using merge.

This crate works without std.

Documentation Status Latest Version Build Status

Implemented statistics

  • Mean and its error.
  • Variance, skewness, kurtosis.
  • Arbitrary moments.
  • Minimum and maximum.
  • Quantile.
  • Histogram.

Crate features

The following optional feature is available:

  • serde1 enables serialization, via Serde version 1.

Rust version requirements

Rustc version 1.32 or greater is supported.

  • quantiles: Provides quantile estimates with bounded error but using growing space.