Crates.io | average |
lib.rs | average |
version | 0.15.1 |
source | src |
created_at | 2017-04-26 18:49:04.355991 |
updated_at | 2024-04-26 11:26:15.899039 |
description | Calculate statistics iteratively |
homepage | |
repository | https://github.com/vks/average |
max_upload_size | |
id | 12127 |
size | 119,960 |
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
.
Mean and its error.
Variance, skewness, kurtosis.
Arbitrary moments.
Minimum and maximum.
Quantile.
Histogram.
The following features are available:
libm
enables Quantile
(using floating point functions provided by libm
).
This is enabled by default. If the std
feature is also enabled, std
is
preferred over libm
.
std
enables Quantile
(using floating point functions provided by std
).
serde1
enables serialization, via Serde version 1.
rayon
enables support for rayon::iter::FromParallelIterator
.
nightly
enables the use of const generics for a histogram implementation
without macros. Note that nightly features are not stable and therefore not
all library and compiler versions will be compatible.
Rustc version 1.61 or greater is supported.
quantiles
:
Provides quantile estimates with bounded error but using growing space.