BloombergLP::bdlb::PcgRandomGenerator::PcgRandomGenerator

Constructors

Synopses

Declared in <bdlb_pcgrandomgenerator.h>

Create a PcgRandomGenerator object seeded with zeros.

PcgRandomGenerator();
» more...

Create a PcgRandomGenerator seeded with the specified initState and streamSelector.

PcgRandomGenerator(
    uint64_t initState,
    uint64_t streamSelector);
» more...

Parameters

NameDescription
initStateinitial state for the generator
streamSelectorstream selector for the generator sequence