[#BloombergLP-bdlb-PcgRandomGenerator-2constructor-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/PcgRandomGenerator.adoc[PcgRandomGenerator]::PcgRandomGenerator
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlb&lowbar;pcgrandomgenerator&period;h&gt;`

Create a `PcgRandomGenerator` object seeded with zeros&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/PcgRandomGenerator/2constructor-04.adoc[PcgRandomGenerator]();
----

[.small]#xref:BloombergLP/bdlb/PcgRandomGenerator/2constructor-04.adoc[_» more&period;&period;&period;_]#

Create a `PcgRandomGenerator` seeded with the specified `initState` and `streamSelector`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/PcgRandomGenerator/2constructor-0b.adoc[PcgRandomGenerator](
    uint64&lowbar;t initState,
    uint64&lowbar;t streamSelector);
----

[.small]#xref:BloombergLP/bdlb/PcgRandomGenerator/2constructor-0b.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initState*
| initial state for the generator
| *streamSelector*
| stream selector for the generator sequence
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
