This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# RandomComplex

 RandomComplex gives a pseudorandom complex number with real and imaginary parts in the range 0 to 1. RandomComplexgives a pseudorandom complex number in the rectangle with corners given by the complex numbers and . RandomComplexgives a pseudorandom complex number in the rectangle whose corners are the origin and . RandomComplexgives a list of n pseudorandom complex numbers. RandomComplexgives an ××... array of pseudorandom complex numbers
• RandomComplex chooses complex numbers with a uniform probability distribution in the rectangle specified.
• RandomComplex[range, WorkingPrecision->n] yields complex numbers with n-digit precision. Leading or trailing digits in the generated number can turn out to be 0.
• RandomComplex gives a different sequence of pseudorandom reals whenever you run Mathematica. You can start with a particular seed using SeedRandom.
• A Method option to SeedRandom can be given to specify the pseudorandom generator used.
A random complex number with real and imaginary parts in the range 0 to 1:
A random complex number in the rectangle with corners at and :
A random complex number in the rectangle with corners at and :
5 random complex numbers in the unit square:
A 3×2 array of random complex numbers in the rectangle with corners at and :
A random complex number with real and imaginary parts in the range 0 to 1:
 Out[1]=

A random complex number in the rectangle with corners at and :
 Out[1]=

A random complex number in the rectangle with corners at and :
 Out[1]=

5 random complex numbers in the unit square:
 Out[1]=

A 3×2 array of random complex numbers in the rectangle with corners at and :
 Out[1]=
 Scope   (3)
Generate random complex numbers of any magnitude:
Generate random complex numbers of any precision:
Generate low-precision complex numbers:
 Options   (1)
Generate a random complex number with 50-digit precision:
 Applications   (2)
Circles at random positions in the complex plane:
Random walk in the complex plane:
Use SeedRandom to get repeatable random values:
Use BlockRandom to block one use of RandomComplex from affecting others:
With the same seed, RandomComplex generates the "same" number, regardless of precision:
RandomComplex generates a uniform distribution, here with mean :
New in 6