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

Home » Public Forums » archive » random musings
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
random musings [message #53128] Mon, 19 March 2007 13:30
Christopher Thom is currently offline  Christopher Thom
Messages: 66
Registered: October 2006
Member
Hi all,

this morning I started writing some monte carlo code, in which I'm
generating random arrays, and scaling/shifting them to fit the (gaussian)
distribution parameters I need. One thing is not clear in the online help:
Which random function is "better"? Should I be using randomn() or
randomu()? The help is explicit about the algorithms used, but there is
comparison between the randomness of the two functions. And since both
functions accept a /normal flag, it's unclear as to which is the better
choice.

Is there any common wisdom that makes this choice obvious?

cheers
chris
[Message index]
 
Read Message
Previous Topic: Re: Question about selecting images from Draw Widgets
Next Topic: Cut down a big file (W/O delimiters) into several... but I still don't understand

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

Current Time: Wed Oct 08 19:20:03 PDT 2025

Total time taken to generate the page: 0.00400 seconds