Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

poisson_distribution::poisson_distribution

 

Constructs the distribution.

explicit poisson_distribution(RealType mean = 1.0);

explicit binomial_distribution(const param_type& parm);

mean

The mean distribution parameter.

parm

The parameter structure used to construct the distribution.

Precondition: 0.0 < mean

The first constructor constructs an object whose stored p value holds the value p.

The second constructor constructs an object whose stored parameters are initialized from parm. You can obtain and set the current parameters of an existing distribution by calling the param() member function.

Requirements

Header: <random>

Namespace: std

Show: