seeded_pcg32¶
- guppylang.std.random.seeded_pcg32(seed: nat) PCG32[source]¶
Create a new
PCG32generator from a seed value.The seed selects one of
2**63possible PCG32 sequences. The same seed always produces the same stream of values. DifferentPCG32values do not share state, so using one generator does not affect another.- Parameters:
seed – Sequence identifier used to initialize the generator.