Trait probability::distribution::Variance[][src]

pub trait Variance: Mean {
    fn variance(&self) -> f64;

    fn deviation(&self) -> f64 { ... }
}

A distribution capable of computing the variance.

The trait is applicable when the variance exists, that is, finite.

Required methods

fn variance(&self) -> f64[src]

Compute the variance.

Loading content...

Provided methods

fn deviation(&self) -> f64[src]

Compute the standard deviation.

Loading content...

Implementors

impl Variance for Bernoulli[src]

impl Variance for Beta[src]

impl Variance for Binomial[src]

impl Variance for Categorical[src]

impl Variance for Exponential[src]

impl Variance for Gamma[src]

impl Variance for Gaussian[src]

impl Variance for Laplace[src]

impl Variance for Logistic[src]

impl Variance for Lognormal[src]

impl Variance for Pert[src]

impl Variance for Triangular[src]

impl Variance for Uniform[src]

Loading content...