randomgen.xoshiro512.Xoshiro512.seed

Xoshiro512.seed(seed=None)

Seed the generator

This method is called at initialization. It can be called again to re-Seed the generator

Parameters:
seed=None

Entropy initializing the pseudo-random number generator. Can be an integer in [0, 2**64), array of integers in [0, 2**64), a SeedSequence instance or None (the default). If seed is None, then data is read from /dev/urandom (or the Windows analog) if available. If unavailable, a hash of the time and process ID is used.

Raises:

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