comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: random musings

random musings
type: item
description: 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
creator: Christopher Thom
date: 2007-03-19T20:30:30-00:00