Struct rand::distributions::gamma::GammaSmallShape[][src]

struct GammaSmallShape {
    inv_shape: f64,
    large_shape: GammaLargeShape,
}

Gamma distribution where the shape parameter is less than 1.

Note, samples from this require a compulsory floating-point pow call, which makes it significantly slower than sampling from a gamma distribution where the shape parameter is greater than or equal to 1.

See Gamma for sampling from a Gamma distribution with general shape parameters.

Fields

Methods

impl GammaSmallShape
[src]

Trait Implementations

impl Clone for GammaSmallShape
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GammaSmallShape
[src]

impl Debug for GammaSmallShape
[src]

Formats the value using the given formatter. Read more

impl Sample<f64> for GammaSmallShape
[src]

Generate a random value of Support, using rng as the source of randomness. Read more

impl IndependentSample<f64> for GammaSmallShape
[src]

Generate a random value.

Auto Trait Implementations

impl Send for GammaSmallShape

impl Sync for GammaSmallShape