Go to file
Vinzent Steinberg 56344750a7 Fixes to Histogram
1. Now histograms with more than 31 bins are supported (before there
   were issues with missing implementations on arrays.)
2. The items defined by `define_histogram!` are in their own module, to
   avoid issues with Rust's lack of macro hygiene for items.
2018-07-24 18:18:05 +02:00
benches Fix moments benchmark 2018-07-11 15:52:57 +02:00
src Fixes to Histogram 2018-07-24 18:18:05 +02:00
tests Fixes to Histogram 2018-07-24 18:18:05 +02:00
.gitignore Initial commit 2017-04-26 20:24:20 +02:00
.travis.yml Fix Travis serde build 2018-07-11 13:04:26 +02:00
Cargo.toml More idiomatic serde support 2018-07-11 12:54:37 +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 Mention no_std support 2018-07-11 12:58:17 +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.
  • quantiles: Provides quantile estimates with bounded error but using growing space.