[][src]Crate rstats

Modules

f64impls
i64impls
tests
vimpls

Structs

MStats

Mean and standard deviation (or std ratio for geometric mean)

Med

Median and quartiles

Traits

RStats

Implementing basic statistical measures.

Vectors

Implementing basic vector algebra.

Functions

genvec

Generates a random f64 vector of size d x n suitable for testing.
Uses local closure rand to generate random numbers (avoids dependencies).
Random numbers are in the open interval 0..1 with uniform distribution.

sortf

Sorts a mutable Vec<f64> in place.
It is the responsibility of the user to ensure that there are no NaNs etc.