Mathematica 9 is now available

IntegerExponentSeedRandom

Random

FilledSmallSquareRandom[ ] gives a uniformly distributed pseudorandom Real in the range 0 to 1.

FilledSmallSquareRandom[type, range] gives a pseudorandom number of the specified type, lying in the specified range. Possible types are: Integer, Real and Complex. The default range is 0 to 1. You can give the range min, max explicitly; a range specification of max is equivalent to 0, max.

FilledSmallSquareRandom[Integer] gives 0 or 1 with probability .

FilledSmallSquareRandom[Complex] gives a pseudorandom complex number in the rectangle with corners and .

FilledSmallSquareRandom[Complex, zmin, zmax] uses the rectangle defined by zmin and zmax.

FilledSmallSquareRandom[Real, range, n] generates an n-digit pseudorandom real number. Both leading and trailing digits may be chosen as 0.

FilledSmallSquareRandom gives a different sequence of pseudorandom numbers whenever you run Mathematica. You can start Random with a particular seed using SeedRandom.

FilledSmallSquare See The Mathematica Book: Section 1.1.3 and Section 3.2.3.

FilledSmallSquare Implementation Notes: see section A.9.4.

FilledSmallSquare See also: $RandomState.

FilledSmallSquare Related packages: Statistics`ContinuousDistributions`, Statistics`DiscreteDistributions`.

Further Examples

IntegerExponentSeedRandom



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.