[Ecls-list] Random numbers

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Mon May 21 03:16:59 UTC 2007


2007/5/18, Roy Zywina <roy.zywina at gmail.com>:
> I needed a better RNG for a project I'm working on so I've implemented the
> Mersenne twister algorithm (2^19937 period) in inlined c.  Basically I just
> redefined "make-random-state" and "random".
>
> If theres interest in this code I'd be happy to clean it up and share.

Hi Roy, thanks for sharing the code. I have committed it to CVS. I had
to extract the C code and replace the old RNG with it. The new version
is in src/c/num_rand.d together with the old one (which has been
disabled)

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the ecl-devel mailing list