Struct probability::distribution::Triangular[][src]

pub struct Triangular { /* fields omitted */ }

A triangular distribution.

Methods

impl Triangular
[src]

Create a triangular distribution with mode c on interval [a, b].

It should hold that a < b, a <= c, and c <= b.

Return the left endpoint of the support.

Return the right endpoint of the support.

Return the mode parameter.

Trait Implementations

impl Clone for Triangular
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Triangular
[src]

impl Debug for Triangular
[src]

Formats the value using the given formatter. Read more

impl Continuous for Triangular
[src]

Compute the probability density function.

impl Distribution for Triangular
[src]

The type of outcomes.

Compute the cumulative distribution function.

impl Entropy for Triangular
[src]

Compute the differential entropy. Read more

impl Inverse for Triangular
[src]

Compute the inverse of the cumulative distribution function.

impl Kurtosis for Triangular
[src]

Compute the excess kurtosis.

impl Mean for Triangular
[src]

Compute the expected value.

impl Median for Triangular
[src]

Compute the median.

impl Modes for Triangular
[src]

Compute the modes.

impl Sample for Triangular
[src]

Draw a sample.

impl Skewness for Triangular
[src]

Compute the skewness.

impl Variance for Triangular
[src]

Compute the variance.

Compute the standard deviation.

Auto Trait Implementations

impl Send for Triangular

impl Sync for Triangular