pub struct DistributionUniform { /* private fields */ }
Expand description

Defines the Uniform / Type II Extreme Value Distribution (largest value)

Implementations

Creates a new Uniform distribution

Input
  • xmin – min x value
  • xmax – max x value

Trait Implementations

Implements the Probability Density Function (CDF)

Implements the Cumulative Density Function (CDF)

Returns the Mean

Returns the Variance

Generates a pseudo-random number belonging to this probability distribution

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.