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

struct GammaLargeShape {
    scale: f64,
    c: f64,
    d: f64,
}
Unstable (rand)

: use rand from crates.io

Gamma distribution where the shape parameter is larger than 1.

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

Fields

scale
Unstable (rand)

: use rand from crates.io

c
Unstable (rand)

: use rand from crates.io

d
Unstable (rand)

: use rand from crates.io

Methods

impl GammaLargeShape

fn new_raw(shape: f64, scale: f64) -> GammaLargeShape

Unstable (rand)

: use rand from crates.io

Trait Implementations

impl Sample<f64> for GammaLargeShape

fn sample<R: Rng>(&mut self, rng: &mut R) -> f64

impl IndependentSample<f64> for GammaLargeShape

fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64