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
Required methods
fn acentroid(self) -> Vec<f64>
[src]
fn acentroid(self) -> Vec<f64>
[src]Centroid = euclidian mean of a set of points
fn nxnonmember(self, p: &[f64]) -> Vec<f64>
[src]
fn nxnonmember(self, p: &[f64]) -> Vec<f64>
[src]Eccentricity vector added to a non member point,
Implementations on Foreign Types
impl VecVecu8 for &[Vec<u8>]
[src]
impl VecVecu8 for &[Vec<u8>]
[src]fn nxnonmember(self, p: &[f64]) -> Vec<f64>
[src]
fn nxnonmember(self, p: &[f64]) -> Vec<f64>
[src]Eccentricity vector added to a non member point, while the true geometric median is as yet unknown. This function is suitable for a single non-member point.
fn wnxnonmember(self, ws: &[f64], p: &[f64]) -> Vec<f64>
[src]
fn wnxnonmember(self, ws: &[f64], p: &[f64]) -> Vec<f64>
[src]Next approximate weighted median, from a non member point.
fn wsortedeccs(self, ws: &[f64], eps: f64) -> (Vec<f64>, Vec<f64>, Vec<f64>)
[src]
fn wsortedeccs(self, ws: &[f64], eps: f64) -> (Vec<f64>, Vec<f64>, Vec<f64>)
[src]Weighted geometric median, sorted eccentricities magnitudes, associated cummulative probability density function of the weights
fn gmedian(self, eps: f64) -> Vec<f64>
[src]
fn gmedian(self, eps: f64) -> Vec<f64>
[src]Secant method with recovery from divergence for finding the geometric median