Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
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