Trait rstats::VecVecu8[][src]

pub trait VecVecu8 {
    fn acentroid(self) -> Vec<f64>;
fn nxnonmember(self, p: &[f64]) -> Vec<f64>;
fn wnxnonmember(self, ws: &[f64], p: &[f64]) -> Vec<f64>;
fn wsortedeccs(self, ws: &[f64], eps: f64) -> (Vec<f64>, Vec<f64>, Vec<f64>);
fn gmedian(self, eps: f64) -> Vec<f64>;
fn wgmedian(self, ws: &[f64], eps: f64) -> Vec<f64>; }
Expand description

Some support for self argument of Vec<Vec> type (vector of vectors of bytes)

Required methods

fn acentroid(self) -> Vec<f64>[src]

Centroid = euclidian mean of a set of points

fn nxnonmember(self, p: &[f64]) -> Vec<f64>[src]

Eccentricity vector added to a non member point,

fn wnxnonmember(self, ws: &[f64], p: &[f64]) -> Vec<f64>[src]

Weighted eccentricity vector for a non member point

fn wsortedeccs(self, ws: &[f64], eps: f64) -> (Vec<f64>, Vec<f64>, Vec<f64>)[src]

Weighted geometric median, sorted eccentricities magnitudes, cummulative weights

fn gmedian(self, eps: f64) -> Vec<f64>[src]

Geometric median of a set of nD points

fn wgmedian(self, ws: &[f64], eps: f64) -> Vec<f64>[src]

The weighted geometric median

Implementors