I find it annoying to have to explicitly declare both the generator and the distribution, so I wrapped it up in a class. Templated on value type, distribution type and generator type; has reasonable default distribution std::uniform_int_distribution and generator std::mt19937_64.
Expand file tree
/
Copy pathrandom
/Directory actions
More options
More optionsDirectory actions
More options
More options/
Copy pathrandom
/Folders and files
| Name | Name | Last commit date | |
|---|---|---|---|
parent directory.. | |||