[][src]Trait peroxide::statistics::stat::OrderedStat

pub trait OrderedStat {
    type Array;
    type Value;
    fn median(&self) -> Self::Value;
fn quantile(&self, q: f64, qtype: QType) -> Self::Value;
fn quantiles(&self, q: Vec<f64>, qtype: QType) -> Self::Array; }

Trait for Ordered Statistics

  • median
  • quantile

Associated Types

type Array

type Value

Loading content...

Required methods

fn median(&self) -> Self::Value

fn quantile(&self, q: f64, qtype: QType) -> Self::Value

fn quantiles(&self, q: Vec<f64>, qtype: QType) -> Self::Array

Loading content...

Implementations on Foreign Types

impl OrderedStat for Vec<f64>[src]

type Array = Self

type Value = f64

Loading content...

Implementors

Loading content...