Struct rand::distributions::gamma::GammaLargeShape [−][src]
Gamma distribution where the shape parameter is larger than 1.
See Gamma
for sampling from a Gamma distribution with general
shape parameters.
Fields
scale: f64
c: f64
d: f64
Methods
impl GammaLargeShape
[src]
impl GammaLargeShape
fn new_raw(shape: f64, scale: f64) -> GammaLargeShape
[src]
fn new_raw(shape: f64, scale: f64) -> GammaLargeShape
Trait Implementations
impl Clone for GammaLargeShape
[src]
impl Clone for GammaLargeShape
fn clone(&self) -> GammaLargeShape
[src]
fn clone(&self) -> GammaLargeShape
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for GammaLargeShape
[src]
impl Copy for GammaLargeShape
impl Debug for GammaLargeShape
[src]
impl Debug for GammaLargeShape
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Sample<f64> for GammaLargeShape
[src]
impl Sample<f64> for GammaLargeShape
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&mut self, rng: &mut R) -> f64
Generate a random value of Support
, using rng
as the source of randomness. Read more
impl IndependentSample<f64> for GammaLargeShape
[src]
impl IndependentSample<f64> for GammaLargeShape
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64
[src]
fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64
Generate a random value.
Auto Trait Implementations
impl Send for GammaLargeShape
impl Send for GammaLargeShape
impl Sync for GammaLargeShape
impl Sync for GammaLargeShape