Constructors
Declared in <bdlb_pcgrandomgenerator.h>
Create a PcgRandomGenerator object and seed it with the optionally specified initState and streamSelector. If initState and streamSelector are not specified, 0 is used for both. The highest-order bit of streamSelector is ignored. Note that invoking different instances created with the identical initState and streamSelector will result in the same sequence of random numbers from subsequent invocations of generate().
PcgRandomGenerator();
» more...
Create a PcgRandomGenerator seeded with the specified initState and streamSelector. The highest-order bit of streamSelector is ignored. Note that instances created with identical seeds produce the same sequence from subsequent generate() calls.
PcgRandomGenerator(
uint64_t initState,
uint64_t streamSelector);
» more...