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().

Synopsis

Declared in <bdlb_pcgrandomgenerator.h>

PcgRandomGenerator();

Created with MrDocs