[Numpy-discussion] PRNGs and multi-threading
Fri Aug 21 14:00:28 CDT 2009
On Fri, Aug 21, 2009 at 20:50, Sturla Molden<firstname.lastname@example.org> wrote:
> Sturla Molden skrev:
>> It seems there is a special version of the Mersenne Twister for this.
>> The code is LGPL (annoying for SciPy but ok for me).
> Basically it encodes the thread-ids in the characteristic polynomial of
> the MT, producing multiple small-period, independent MTs. That solves it
> then. Too bad this is LGPL. It would be a very useful enhancement to
I agree. It might be possible to re-implement it from the original
papers, but it's a chunk of work.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion