Synopsis

Declared in <mp‐units/random.h>

template<Quantity Q>
requires std::floating_point<typename Q::rep>
struct uniform_real_distribution
    : std::uniform_real_distribution<Q::rep>

Base Classes

Name Description

std::uniform_real_distribution<Q::rep>

Uniform continuous distribution for random numbers.

Types

Name

Description

param_type

Parameter type.

result_type

The type of the range of the distribution.

Member Functions

Name

Description

__generate

a

b

max

Returns the inclusive upper bound of the distribution range.

min

Returns the inclusive lower bound of the distribution range.

operator()

Generating functions.

param

param overloads

reset

Resets the distribution state.

Created with MrDocs