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
Implementors
impl Mean for Bernoulli
impl Mean for Beta
impl Mean for Binomial
impl Mean for Categorical
impl Mean for Exponential
impl Mean for Gaussian
impl Mean for Uniform