Mathematica 9 is now available

Random$RandomState

SeedRandom

FilledSmallSquareSeedRandom[n] resets the pseudorandom number generator, using the integer n as a seed.

FilledSmallSquareSeedRandom[ ] resets the generator, using as a seed the time of day.

FilledSmallSquare You can use SeedRandom[n] to make sure you get the same sequence of pseudorandom numbers on different occasions.

FilledSmallSquare You can also use SeedRandom["string"], although the seed set in this way may be different on different computer systems.

FilledSmallSquare See The Mathematica Book: Section 3.2.3.

FilledSmallSquare See also: Random, $RandomState.

Further Examples

Random$RandomState



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.