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)