Struct probability::distribution::Exponential[][src]

pub struct Exponential { /* fields omitted */ }

An exponential distribution.

Methods

impl Exponential
[src]

Create an exponential distribution with rate lambda.

It should hold that lambda > 0.

Return the rate parameter.

Trait Implementations

impl Clone for Exponential
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Exponential
[src]

impl Debug for Exponential
[src]

Formats the value using the given formatter. Read more

impl Continuous for Exponential
[src]

Compute the probability density function.

impl Distribution for Exponential
[src]

The type of outcomes.

Compute the cumulative distribution function.

impl Entropy for Exponential
[src]

Compute the differential entropy. Read more

impl Inverse for Exponential
[src]

Compute the inverse of the cumulative distribution function.

impl Kurtosis for Exponential
[src]

Compute the excess kurtosis.

impl Mean for Exponential
[src]

Compute the expected value.

impl Median for Exponential
[src]

Compute the median.

impl Modes for Exponential
[src]

Compute the modes.

impl Sample for Exponential
[src]

Draw a sample.

impl Skewness for Exponential
[src]

Compute the skewness.

impl Variance for Exponential
[src]

Compute the variance.

Compute the standard deviation.

Auto Trait Implementations

impl Send for Exponential

impl Sync for Exponential