[][src]Trait average::Estimate

pub trait Estimate {
    fn add(&mut self, x: f64);
fn estimate(&self) -> f64; }

Estimate a statistic of a sequence of numbers ("population").

Required methods

fn add(&mut self, x: f64)

Add an observation sampled from the population.

fn estimate(&self) -> f64

Estimate the statistic of the population.

Loading content...

Implementors

impl Estimate for Kurtosis
[src]

impl Estimate for Max
[src]

impl Estimate for Mean
[src]

impl Estimate for Min
[src]

impl Estimate for Quantile
[src]

impl Estimate for Skewness
[src]

impl Estimate for Variance
[src]

Loading content...