WLJS LogoWLJS Notebook

RandomGeneratorState

RandomGeneratorState[...] gives a representation of the internal state of a pseudorandom generator.

Examples

Get the current random generator state:

state = $RandomGeneratorState

Restore a previous state:

SeedRandom[state]

Please visit the official Wolfram Language Reference for more details.

On this page