#include <qbpp_misc.hpp>
Definition at line 26 of file qbpp_misc.hpp.
◆ RandomGenerator() [1/2]
qbpp::misc::RandomGenerator::RandomGenerator |
( |
| ) |
|
|
inlineprivate |
◆ RandomGenerator() [2/2]
◆ operator=()
◆ get_instance()
◆ set_seed()
static void qbpp::misc::RandomGenerator::set_seed |
( |
uint32_t |
seed = 1 | ) |
|
|
inlinestatic |
◆ rd_seed()
static void qbpp::misc::RandomGenerator::rd_seed |
( |
| ) |
|
|
inlinestatic |
◆ gen() [1/3]
static uint64_t qbpp::misc::RandomGenerator::gen |
( |
| ) |
|
|
inlinestatic |
◆ gen() [2/3]
template<typename T >
static std::enable_if<std::is_integral<T>::value, T>::type qbpp::misc::RandomGenerator::gen |
( |
T |
n | ) |
|
|
inlinestatic |
◆ gen() [3/3]
◆ gen_double()
static double qbpp::misc::RandomGenerator::gen_double |
( |
| ) |
|
|
inlinestatic |
◆ get_mt()
static std::mt19937_64& qbpp::misc::RandomGenerator::get_mt |
( |
| ) |
|
|
inlinestatic |
◆ mt
std::mt19937_64 qbpp::misc::RandomGenerator::mt |
|
private |
The documentation for this class was generated from the following file: