#include <Random.h>
|
static std::random_device | rd |
|
Definition at line 35 of file Random.h.
◆ getInRange()
double utils::Random::getInRange |
( |
double | ll, |
|
|
double | ul ) |
|
static |
Definition at line 32 of file Random.cpp.
32 {
33 static std::mt19937 gen(
rd());
34
35 std::uniform_real_distribution<double> distr(static_cast<int>(ll), static_cast<int>(ul));
36
37 return distr(gen);
38 }
static std::random_device rd
References rd.
◆ rd
std::random_device utils::Random::rd |
|
staticprivate |
The documentation for this class was generated from the following files: