Trait probability::distribution::Distribution
[−]
[src]
pub trait Distribution { type Value; fn cdf(&self, f64) -> f64; }
A probability distribution.
Associated Types
type Value
The type of outcomes.
Required Methods
fn cdf(&self, f64) -> f64
Compute the distribution function.
The function is also known as the cumulative distribution function.
Implementors
impl Distribution for Bernoulli
impl Distribution for Beta
impl Distribution for Binomial
impl Distribution for Categorical
impl Distribution for Exponential
impl Distribution for Gamma
impl Distribution for Gaussian
impl Distribution for Uniform