This documentation is archived and is not being maintained.


Stores the parameters of the distribution.

struct param_type {
    typedef poisson_distribution<IntType, RealType> distribution_type;
    param_type(RealType mean = RealType(1.0));
    RealType mean() const;
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;

This parameter package can be passed to operator() to generate the return value.

Header: <random>

Namespace: std