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

Synopsis

Declared in <bdlb_pcgrandomgenerator.h>

class PcgRandomGenerator;

Member Functions

Name

Description

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

Name

Description

BloombergLP::bdlb::operator==

Return true if the specified lhs and rhs objects have the same value.

Non-Member Functions

Name

Description

operator!=

Return true if the specified lhs and rhs objects do not have the same value.

Created with MrDocs