Trait probability::distribution::Mean[][src]

pub trait Mean: Distribution {
    fn mean(&self) -> f64;
}

A distribution capable of computing the expected value.

The trait is applicable when the expected value exists, that is, finite.

Required methods

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

Compute the expected value.

Loading content...

Implementors

impl Mean for Bernoulli[src]

impl Mean for Beta[src]

impl Mean for Binomial[src]

impl Mean for Categorical[src]

impl Mean for Exponential[src]

impl Mean for Gamma[src]

impl Mean for Gaussian[src]

impl Mean for Laplace[src]

impl Mean for Logistic[src]

impl Mean for Lognormal[src]

impl Mean for Pert[src]

impl Mean for Triangular[src]

impl Mean for Uniform[src]

Loading content...