mp_units::geometric_distribution

Synopsis

Declared in <mp-units/random.h>
struct geometric_distribution
    : std::geometric_distribution<Q::rep>

Base Classes

Name Description
std::geometric_distribution<Q::rep>A discrete geometric random number distribution.

Types

NameDescription
param_type Parameter type.
base
rep
result_type The type of the range of the distribution.

Member Functions

NameDescription
geometric_distribution [constructor]Constructors
__generate
max
min
operator() Generating functions.
p Returns the distribution parameter p.
param param overloads
reset Resets the distribution state.