UniformInteger
Uniformly samples integer random values on the interval between a (with default value 0) and b (with default value max_integer()) (inclusive).
The probability mass function is given by,
Constructors
UniformInteger(const UniformInteger distribution) -> UniformInteger
Copy constructor for UniformInteger distribution.
Parameters
- distribution: UniformInteger distribution to be copied
Symbols
| Name | Description |
|---|---|
= | Copy assignment operator for UniformInteger distribution. |
Members
| Name | Description |
|---|---|
| a | Inclusive lower bound. |
| b | Inclusive upper bound. |
| max | Returns the maximum possible value from the distribution |
| min | Returns the minimum possible value from the distribution |
| sample | Sample from distribution. |