BloombergLP::bdlb::PcgRandomGenerator

This class implements a random number generator (RNG) based on the PCG algorithm.

Synopsis

Declared in <bdlb_pcgrandomgenerator.h>

class PcgRandomGenerator;

Member Functions

NameDescription
PcgRandomGenerator [constructor]Constructors
generate Return the next random number in the sequence generated by this object.
seed Seed this generator with the specified new initState and streamSelector.

Friends

NameDescription
BloombergLP::bdlb::operator==Return true if the specified lhs and rhs objects have the same value.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs objects do not have the same value.