...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::poisson_distribution
// In header: <boost/random/poisson_distribution.hpp> template<typename IntType = int, typename RealType = double> class poisson_distribution { public: // types typedef RealType input_type; typedef IntType result_type; // construct/copy/destruct poisson_distribution(const RealType & = RealType(1)); // public member functions RealType mean() const; void reset(); template<typename Engine> result_type operator()(Engine &); };
An instantiation of the class template poisson_distribution
is a model of random distribution . The poisson distribution has