Synopsis

Declared in <mp‐units/random.h>

struct discrete_distribution
    : std::discrete_distribution<Q::rep>

Base Classes

Name Description

std::discrete_distribution<Q::rep>

A discrete_distribution random number distribution.

Types

Name

Description

param_type

Parameter type.

base

rep

result_type

The type of the range of the distribution.

Member Functions

Name

Description

discrete_distribution [constructor]

Constructors

__generate

max

min

operator()

Generating functions.

param

param overloads

probabilities

Returns the probabilities of the distribution.

reset

Resets the distribution state.

Created with MrDocs