Struct probability::distribution::Uniform[][src]

pub struct Uniform { /* fields omitted */ }

A continuous uniform distribution.

Methods

impl Uniform
[src]

Create a uniform distribution on interval [a, b].

It should hold that a < b.

Return the left endpoint of the support.

Return the right endpoint of the support.

Trait Implementations

impl Clone for Uniform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Uniform
[src]

impl Debug for Uniform
[src]

Formats the value using the given formatter. Read more

impl Default for Uniform
[src]

Returns the "default value" for a type. Read more

impl Continuous for Uniform
[src]

Compute the probability density function.

impl Distribution for Uniform
[src]

The type of outcomes.

Compute the cumulative distribution function.

impl Entropy for Uniform
[src]

Compute the differential entropy. Read more

impl Inverse for Uniform
[src]

Compute the inverse of the cumulative distribution function.

impl Kurtosis for Uniform
[src]

Compute the excess kurtosis.

impl Mean for Uniform
[src]

Compute the expected value.

impl Median for Uniform
[src]

Compute the median.

impl Sample for Uniform
[src]

Draw a sample.

impl Skewness for Uniform
[src]

Compute the skewness.

impl Variance for Uniform
[src]

Compute the variance.

Compute the standard deviation.

Auto Trait Implementations

impl Send for Uniform

impl Sync for Uniform