Go to file
Vinzent Steinberg e4345f5046 impl FromIterator<&f64> and FromIterator<&(f64, f64)>
This allows to write

    let k: Kurtosis = a.iter().collect();

instead of

    let k: Kurtosis = a.iter().map(|x| *x).collect();

but breaks type inference for code like

    let m: Min = (1..6).map(Into::into).collect();

where

    let m: Min = (1..6).map(f64::from).collect();

has to be used instead.

Fixes #8.
2018-02-28 23:44:40 +01:00
benches Benchmark generic vs. handwritten implementation of kurtosis 2018-01-11 19:37:25 +01:00
src impl FromIterator<&f64> and FromIterator<&(f64, f64)> 2018-02-28 23:44:40 +01:00
tests impl FromIterator<&f64> and FromIterator<&(f64, f64)> 2018-02-28 23:44:40 +01:00
.gitignore Initial commit 2017-04-26 20:24:20 +02:00
.travis.yml add serde to travis 2017-12-17 23:31:25 -05:00
Cargo.toml Benchmark generic vs. handwritten implementation of kurtosis 2018-01-11 19:37:25 +01: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 Use badges 2017-06-09 10:55:42 +02:00

average

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

Documentation Status Latest Version Build Status

Implemented statistics

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