Trait rstats::MutStats[][src]

pub trait MutStats {
    fn minvert(self);
fn mneg(self);
fn munit(self);
fn mlintrans(self);
fn msortf(self); }
Expand description

A few of the Stats methods are reimplemented here (only for f64), so that they mutate self in-place. This is more efficient and convenient in some circumstances.

Required methods

Invert the magnitude

Make into a unit vector

Linearly transform to interval [0,1]

Sort in place

Implementations on Foreign Types

Vector with inverse magnitude

Unit vector

Linear transform to interval [0,1]

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

Implementors