randomgen.sfmt.SFMT.seed¶
-
SFMT.seed(seed=
None
)¶ Seed the generator
- Parameters:¶
- seed=
None
¶ Entropy used to initialize the pseudo-random number generator. Can be any integer between 0 and 2**32 - 1 inclusive, an array (or other sequence) of unsigned 32-bit integers, , a SeedSequence instance or
None
(the default). If seed isNone
, the 624 32-bit unsigned integers are 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.