C API for Python's RNG?

Fernando Pérez fperez528 at yahoo.com
Fri Jun 28 18:12:46 EDT 2002


Gerhard Häring wrote:

> <clueless>
> What about reading from /dev/random?
> </clueless>

he said he was doing Monte Carlo, you never want to do that for MonteCarlo, 
since you want to be able to know the state of your simulation for 
calibration purposes. What you need is a RNG with good properties (period, 
correlations, etc) but which you can seed as needed. /dev/random is useless 
for that.

cheeers,

f





More information about the Python-list mailing list