Re: Differences in Random Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg46810] Re: Differences in Random Numbers
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Tue, 9 Mar 2004 04:30:54 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 3/8/04 at 4:10 AM, mark at markscoleman.com (Mark Coleman) wrote:
>My understanding is that the built-in Mathematica command Random[ ]
>will produce a uniformly distributed pseudo-random number in the
>range 0 to 1. Based on my read of the documentation, this should be
>equivalent to calling Random[UniformDistribution[0,1]] (after
>loading Statistics`ContinuousDistributions of course)). Is this
>correct?
Yes. Look at the code in ContinuousDistributions.m and you will see Random[UniformDistribution[xmin,xmax]] is calls Random[Real {xmin, xmax}]
--
To reply via email subtract one hundred and four