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 |
|---|---|
|
Uniform continuous distribution for random numbers. |
Types
Name |
Description |
Parameter type. |
|
The type of the range of the distribution. |
Member Functions
Name |
Description |
Returns the inclusive upper bound of the distribution range. |
|
Returns the inclusive lower bound of the distribution range. |
|
Generating functions. |
|
|
|
Resets the distribution state. |
Created with MrDocs