randomgen.tyche.Tyche.seed¶
-
Tyche.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 isNone
, 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.
- seed=
- Raises:¶
ValueError – If seed values are out of range for the PRNG.