[Numpy-discussion] Suggestion: Port Theano RNG implementation to NumPy

Sturla Molden sturla.molden at gmail.com
Tue Feb 18 12:07:32 EST 2014

Andreas Hilboll <lists at hilboll.de> wrote:
> On 18.02.2014 17:47, Sturla Molden wrote:

>> Undortunately the DCMT code was LGPL, not BSD, I don't know if this has
>> changed. 
> I just checked.  The file dcmt0.6.1b.tgz, available from
> http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/DC/dc.html, contains
> this license:

Fantastic :-)

For speed we could just pre-compute parameters for a set of N generators,
up to some reasonable number.

(By the way, this generator is also used by NVidia, so it can be used on a


More information about the NumPy-Discussion mailing list