mp_units::poisson_distribution

Synopsis

Declared in <mp-units/random.h>

template<Quantity Q>
requires std::integral<typename Q::rep>
struct poisson_distribution
    : std::poisson_distribution<Q::rep>

Base Classes

NameDescription
std::poisson_distribution<Q::rep>A discrete Poisson random number distribution.

Types

NameDescription
param_type Parameter type.

Type Aliases

NameDescription
result_type The type of the range of the distribution.

Member Functions

NameDescription
__generate
max Returns the least upper bound value of the distribution.
mean Returns the distribution parameter mean.
min Returns the greatest lower bound value of the distribution.
operator() Generating functions.
param param overloads
reset Resets the distribution state.