wrapper for XOROSHIRO128+ PRNG for use in std::distributions Fulfills C++ named requirements for UniformRandomBitGenerator More...
#include <gnuradio/random.h>
| Public Types | |
| using | result_type = uint64_t | 
| Public Member Functions | |
| xoroshiro128p_prng (uint64_t init) | |
| constructor. Expects a seed. | |
| result_type | operator() () | 
| yield a random value and advance state | |
| void | seed (uint64_t seed) | 
| set new seed | |
| Static Public Member Functions | |
| static constexpr result_type | min () | 
| minimum value | |
| static constexpr result_type | max () | 
| maximum value | |
wrapper for XOROSHIRO128+ PRNG for use in std::distributions Fulfills C++ named requirements for UniformRandomBitGenerator
| using gr::xoroshiro128p_prng::result_type = uint64_t | 
| 
 | inline | 
constructor. Expects a seed.
References seed().
| 
 | inlinestaticconstexpr | 
maximum value
| 
 | inlinestaticconstexpr | 
minimum value
| 
 | inline | 
yield a random value and advance state
References xoroshiro128p_next().
| 
 | inline | 
set new seed
References seed(), and xoroshiro128p_seed().
Referenced by seed(), and xoroshiro128p_prng().