[#BloombergLP-bdlb-PcgRandomGenerator-seed]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/PcgRandomGenerator.adoc[PcgRandomGenerator]::seed
:relfileprefix: ../../../
:mrdocs:

Seed this generator with the specified new `initState` and `streamSelector`&period; Note that the sequence of random numbers produced from subsequent invocations of `generate()` will be the same as that produced by an object created by `PcgRandomGenerator(initState, streamSelector)`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
seed(
    uint64&lowbar;t initState,
    uint64&lowbar;t streamSelector);
----


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