SeedRandom
Reseeds the random generator RandomInteger draws from.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
SeedRandom!SeedRandom(seed)reseeds the generator; returns Nothing.Typed signatures
| Type | Package | Applies |
|---|---|---|
(integer?) state -> any | combinatorics | always |
(integer?) state -> any | statisticsreplaces combinatorics | always |
Details
- One generator per engine instance: RandomInteger draws from it, and the same seed always starts the same sequence.
- Our generator is our own (a small deterministic PRNG), not Wolfram's Mersenne-twister-based one — a shared seed value does not draw the same numbers as Wolfram would.
Examples
About
| Examples | 2 |
|---|---|
| Checked against | Wolfram Language 2 differ |
| Crosswalk | Wolfram Language |
See also: RandomInteger