MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: RandomComplex documentation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80124] Re: RandomComplex documentation
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Mon, 13 Aug 2007 04:32:15 -0400 (EDT)

On 8/12/07 at 7:24 AM, akoz at mimuw.edu.pl (Andrzej Kozlowski) wrote:

>Here is a extract from the documentation for RandomComplex:

>"RandomComplex[range,n] gives a list of n pseudorandom complex
>numbers."

>and now here is an extract from tutorial/RandomNumberGeneration:

>"RandomComplex[domain,n] gives a list of n pseudorandom reals"

>???

Given:

In[1]:= RandomComplex[{0, 1}, 5]

Out[1]= {0.031873580468932516 + 0. \[ImaginaryI],
  0.5275216955764901 + 0. \[ImaginaryI],
  0.665414621684336 + 0. \[ImaginaryI],
  0.11248161136844037 + 0. \[ImaginaryI],
  0.3548022392621708 + 0. \[ImaginaryI]}

In[2]:= $Version

Out[2]= 6.0 for Mac OS X PowerPC (32-bit) (June 19, 2007)

I conclude there is simply an error in the tutorial
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Problems naming files with equation names
  • Next by Date: reading from file
  • Previous by thread: RandomComplex documentation
  • Next by thread: Re: Re: RandomComplex documentation