randomgen.pcg32.PCG32.seed

PCG32.seed(seed=None, inc=None)

Seed the generator

This method is called when PCG32 is initialized. It can be called again to re-Seed the generator For details, see PCG32.

Parameters:
seed=None

Seed for PCG64. Integer between 0 and 2**64-1. If None, seeded with entropy.

inc=None

The increment in the LCG. Integer between 0 and 2**64-1. If None, seeded with entropy.

Raises:

ValueError – If seed values are out of range for the PRNG.