A discrete uniform distribution over integers.
More...
#include "distributions.hpp"
|
| DiscreteUniform (int high) |
|
| DiscreteUniform (int low, int high) |
|
template<typename... Vs> |
| DiscreteUniform (std::variant< Vs... > low, std::variant< Vs... > high) |
|
double | logprob (int value) const |
|
template<typename RNG > |
int | sample (RNG &rng) |
|
std::string | string () |
|
|
std::uniform_int_distribution | dist |
|
int | high |
|
int | low |
|
A discrete uniform distribution over integers.
The documentation for this struct was generated from the following file: