Struct rand::distributions::Poisson [−][src]
pub struct Poisson { /* fields omitted */ }👎 Deprecated since 0.7.0:
moved to rand_distr crate
Expand description
The Poisson distribution Poisson(lambda).
This distribution has a density function:
f(k) = lambda^k * exp(-lambda) / k! for k >= 0.
Implementations
Trait Implementations
Generate a random value of T, using rng as the source of randomness.
Create an iterator that generates random values of T, using rng as
the source of randomness. Read more
Auto Trait Implementations
impl RefUnwindSafe for Poisson
impl UnwindSafe for Poisson
Blanket Implementations
Mutably borrows from an owned value. Read more