|
header_utils
|
A good quality random engine that meets the standard library concept of a random bit generator. More...
#include <random.h>
Public Member Functions | |
| good_random_engine (uint64_t j) noexcept | |
| void | seed (uint64_t j) noexcept |
| uint64_t | operator() () noexcept |
Static Public Member Functions | |
| static constexpr uint64_t | max () noexcept |
| static constexpr uint64_t | min () noexcept |
Public Attributes | |
| uint64_t | u |
| uint64_t | v |
| uint64_t | w |
A good quality random engine that meets the standard library concept of a random bit generator.
Shamelessly stolen from 'Numeric Recipes: The Art of Scientific Computing' Third Edition, by William H. Press et. al, Cambridge University Press, 2007 (ISBN 978-0521880688),
|
inlinenoexcept |
|
inlinestaticnodiscardconstexprnoexcept |
|
inlinestaticnodiscardconstexprnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenoexcept |