comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How good is Randomu?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How good is Randomu? [message #57971] Fri, 04 January 2008 08:17
john.copley is currently offline  john.copley
Messages: 8
Registered: October 2001
Junior Member
Many thanks to those of you who responded to my posting entitled "
Bizarre (?) behavior of randomu". Your comments have been very useful.

I now have a different question. How good is Randomu? I am developing
some code to calculate multiple neutron scattering intensities and
typically in any given run I would expect to invoke randomu (or some
other IDL procedure that generates uniformly distributed pseudo-random
numbers between 0 and 1) several hundred to several thousand times,
each time obtaining of order 1 million numbers, in other words
generating 10^9 or more random numbers in any given run. Is randomu up
to the task, or do I need something better?

If I need something better what should I use? I have come across
exotica such as the "MT19937 generator of Makoto Matsumoto and Takuji
Nishimura [which] is a variant of the twisted generalized feedback
shift-register algorithm" and "has a Mersenne prime period of 2^19937
- 1 (about 10^6000) and is equi-distributed in 623 dimensions" but
that sounds like overkill. On the other hand the so-called Wichmann-
Hill algorithm looks interesting and it is supposedly very easy to
code.

Thoughts, anyone?
Many thanks
John
[Message index]
 
Read Message
Previous Topic: Re: Is there any way to add texts, lines, wind vector over terrain surface (over IDLgrSurface )?
Next Topic: Re: New IDL 7.0 Project Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 09:57:38 PDT 2025

Total time taken to generate the page: 1.03833 seconds