Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Random Geometric (long)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23427] Re: [mg23340] Random Geometric (long)
  • From: bernd at bio.vu.nl (Bernd Brandt)
  • Date: Wed, 10 May 2000 02:32:13 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Dear Dan,

Thank you for your answer.
Basically Random does not do its job correctly and its use should be
avoided for generating reals.
As i understand this is always the case, but was demonstrated well by
the discrete geometric distribution.
Thanks also for the alternative. Regarding the implementation of Random-CA i have one question:

Why do you use

((Random[Integer,2^30-1]/2^30.)+
	Random[Integer,2^30-1])/2^30.

and not

(Random[Integer, 2^30 - 1]/2^30.)

Regards,
Bernd


  • Prev by Date: read/write numbered files
  • Next by Date: subscripted symbols
  • Previous by thread: Re: read/write numbered files
  • Next by thread: Re: Random Geometric (long)