[−][src]Trait probability::distribution::Distribution
A distribution.
Associated Types
type Value
The type of outcomes.
Required methods
fn distribution(&self, _: f64) -> f64
Compute the cumulative distribution function.
Implementors
impl Distribution for Bernoulli
[src]
impl Distribution for Beta
[src]
impl Distribution for Binomial
[src]
type Value = usize
fn distribution(&self, x: f64) -> f64
[src]
Compute the cumulative distribution function.
The implementation is based on the incomplete beta function.