[][src]Module compute::distributions

Provides a unified interface for working with probability distributions. Also implements commonly used (maximum entropy) distributions.

Structs

Bernoulli

Implements the Bernoulli distribution.

Beta

Implements the Beta distribution.

ChiSquared

Implements the Chi square distribution.

DiscreteUniform

Implements the discrete uniform distribution.

Exponential

Implements the Exponential distribution.

Gamma

Implements the Gamma distribution.

Normal

Implements the Normal distribution.

Poisson

Implements the Poisson distribution.

Uniform

Implements the Uniform distribution.

Traits

Continuous

Provides a trait for interacting with continuous probability distributions.

Discrete

Provides a trait for interacting with discrete probability distributions.

Distribution

The primary trait defining a probability distribution.

Mean

Provides a trait for computing the mean of a distribution where there is a closed-form expression.

Variance

Provides a trait for computing the variance of a distribution where there is a closed-form solution. Requires the Mean trait to be implemented because of the definition of variance.