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

A distribution capable of computing the expected value.

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

Required Methods§

Compute the expected value.

Implementors§