Crate rstats[−][src]
Modules
Macros
macro here!()
gives &str
with the current file:line path::function
for error messages.
Structs
Traits
Mutable vector operations. Some of the vectors trait methods reimplemented here for efficiency, to mutate in-place
Basic one dimensional (1-d) statistical measures and ranking.
These methods operate on just one vector (of generic data) and take no arguments.
There is just one limitation: data of end type i64
has to be explicitly converted to f64
.
That is to raise awareness that, in this particular case, some precision may be lost.
Use the provided function statsg::i64tof64(&s)
to convert the whole slice.
Methods applicable to vector of vectors of
Some support for self argument of Vec<Vec
Vector algebra on one or two vectors.
Some support for Vec
Functions
Helper function to format in green a single item.
Helper function write vector
. Formats Vec
that can be Displayed without recourse to Debug.
Saves space by using ssv instead of csv.
This must be done in Rust item by item, hence the iteration.
You can remove the green colour incantations at the beginning
and at the end, if not wanted.