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

Compute the expected value.

Implementors