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