RandLib 2.0.0
Probability distributions, fitting, and heavy-tail tools for C++20
Loading...
Searching...
No Matches
poisson.hpp File Reference
Include dependency graph for poisson.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  randlib::PoissonRand< IntType >
 The PoissonRand class
Poisson distribution. More...
 

Namespaces

namespace  randlib
 
namespace  randlib::detail
 

Functions

template<typename IntType , std::uniform_random_bit_generator G>
IntType randlib::detail::poissonVariate (double rate, G &g)
 Poisson variate for a rate that changes from call to call, as in mixtures: the setup is a few elementary functions instead of the incomplete gamma function of PoissonRand.