Seed this generator with the specified new initState and streamSelector.
Synopsis
Declared in <bdlb_pcgrandomgenerator.h>
void
seed(
uint64_t initState,
uint64_t streamSelector);
Description
Seed this generator with the specified new initState and streamSelector. 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).
Parameters
Name |
Description |
initState |
initial state for the generator |
streamSelector |
stream selector for the generator sequence |
Created with MrDocs