randomgen.romu.Romu.seed¶
- Romu.seed(seed=None)¶
Seed the generator
This method is called at initialization. It can be called again to re-Seed the generator
- seed{None, int, array_like[ints], SeedSequence}, optional
A seed to initialize the BitGenerator. If None, then fresh, unpredictable entropy will be pulled from the OS. If an
int
orarray_like[ints]
is passed, then it will be passed to SeedSequence to derive the initial BitGenerator state. One may also pass in a SeedSequence instance.
- Raises
- ValueError
If seed values are out of range for the PRNG.