std::poisson_distribution
From cppreference.com
Template:cpp/numeric/random/poisson distribution/sidebar
Defined in header <random>
|
||
template< class IntType = int > class poisson_distribution; |
(since C++11) | |
Produces random non-negative integer values i, distributed according to discrete probability function:
- P(i|μ) =
e-μ·μi i!
The value obtained is the probability of exactly i occurrences of a random event if the expected, mean number of its occurrence under the same conditions (on the same time/space interval) is μ.
Contents |
Member types
Template:tdcl list begin Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list end
Member functions
Non-member functions
Example
External links
Weisstein, Eric W. "Poisson Distribution." From MathWorld--A Wolfram Web Resource.