|
|
|||
|
|
|
| BlockRandom[expr] evaluates expr with all pseudorandom generators localized, so that uses of SeedRandom, RandomInteger, and related functions within the evaluation of expr do not affect subsequent pseudorandom sequences. |
Use BlockRandom to localize the use of a pseudorandom generator:
Use BlockRandom to prevent one use of a randomized algorithm from affecting others:
|