[Numpy-discussion] random permutation
Charles R Harris
charlesr.harris at gmail.com
Sat Jan 13 23:54:59 EST 2007
On 1/13/07, Sebastian Haase <seb.haase at gmx.net> wrote:
I understand this - but I thought the algorithm might involve some
> rounding(-error) cases that would produce different results especially
> when changing the CPU (intel vs. PowerPC). I found this to be true
> even for non pseudo-random code that between CPU-types results were
> different within a given epsilon.
Its all 32 bit words, or rather bits. IIRC, it is based on an irreducible
polynomial over Z_2, so all the coefficients are 0 or 1. The original paper
is worth a read if you like that sort of stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion