Struct probability::distribution::Beta[][src]

pub struct Beta { /* fields omitted */ }

A beta distribution.

Methods

impl Beta
[src]

Create a beta distribution with shape parameters alpha and beta on interval [a, b].

It should hold that alpha > 0, beta > 0, and a < b.

Return the first shape parameter.

Return the second shape parameter.

Return the left endpoint of the support.

Return the right endpoint of the support.

Trait Implementations

impl Clone for Beta
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Beta
[src]

impl Debug for Beta
[src]

Formats the value using the given formatter. Read more

impl Continuous for Beta
[src]

Compute the probability density function.

impl Distribution for Beta
[src]

The type of outcomes.

Compute the cumulative distribution function.

impl Entropy for Beta
[src]

Compute the differential entropy. Read more

impl Inverse for Beta
[src]

Compute the inverse of the cumulative distribution function.

impl Kurtosis for Beta
[src]

Compute the excess kurtosis.

impl Mean for Beta
[src]

Compute the expected value.

impl Median for Beta
[src]

Compute the median.

impl Modes for Beta
[src]

Compute the modes.

impl Sample for Beta
[src]

Draw a sample.

impl Skewness for Beta
[src]

Compute the skewness.

impl Variance for Beta
[src]

Compute the variance.

Compute the standard deviation.

Auto Trait Implementations

impl Send for Beta

impl Sync for Beta