Wolfram Language & System 10.0 (2014)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
- BlockRandom[expr] in effect saves the states of all pseudorandom generators before evaluating expr, then restores them afterwards.
- BlockRandom[expr] always gives the same result as just evaluating expr, though it can affect values obtained for subsequent expressions.
- BlockRandom has attribute HoldAll.
- Many built-in functions in the Wolfram Language effectively use BlockRandom.
Introduced in 2007