Struct rand::distributions::gamma::GammaSmallShape
[−]
[src]
struct GammaSmallShape { inv_shape: f64, large_shape: GammaLargeShape, }
Unstable (
rand
): use rand
from crates.io
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
inv_shape | Unstable ( rand ): use |
large_shape | Unstable ( rand ): use |
Methods
impl GammaSmallShape
fn new_raw(shape: f64, scale: f64) -> GammaSmallShape
Unstable (
rand
): use rand
from crates.io