We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
gives a representation of the internal state of the default pseudorandom generator.
Details Examplesopen allclose all Basic Examples (1)Get the current state of the pseudorandom generator:
Applications (1)Create a version of BlockRandom that refuses to run if the current random state cannot be restored:
Activate a randomness generation method with no restorable state:
Because this method cannot be seeded, BlockRandom cannot give reproducible results:
The function will refuse to evaluate:
Activate a randomness generation method that possesses a restorable state:
The function restores the random state at the end of each evaluation:
Hence the following result matches the previous result:
Properties & Relations (4) Wolfram Research (2020), $RandomGeneratorState, Wolfram Language function, https://reference.wolfram.com/language/ref/$RandomGeneratorState.html. TextWolfram Research (2020), $RandomGeneratorState, Wolfram Language function, https://reference.wolfram.com/language/ref/$RandomGeneratorState.html.
CMSWolfram Language. 2020. "$RandomGeneratorState." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$RandomGeneratorState.html.
APAWolfram Language. (2020). $RandomGeneratorState. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$RandomGeneratorState.html
BibTeX@misc{reference.wolfram_2025_$randomgeneratorstate, author="Wolfram Research", title="{$RandomGeneratorState}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/$RandomGeneratorState.html}", note=[Accessed: 12-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_$randomgeneratorstate, organization={Wolfram Research}, title={$RandomGeneratorState}, year={2020}, url={https://reference.wolfram.com/language/ref/$RandomGeneratorState.html}, note=[Accessed: 12-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4