Re: [Numpy-discussion] Mersenne Twister: Python vs. NumPy

2011-12-30 Thread Alan G Isaac
> On Fri, Dec 30, 2011 at 15:13, Alan wrote: >>> If I seed NumPy's random number generator, I get the >>> expected sequence. On 12/30/2011 10:36 AM, Robert Kern wrote: > What do you mean by "expected"? Where are these expectations coming > from? Other implementations of the Mersenne Twister?

Re: [Numpy-discussion] Mersenne Twister: Python vs. NumPy

2011-12-30 Thread Robert Kern
On Fri, Dec 30, 2011 at 15:13, Alan G Isaac wrote: > If I seed NumPy's random number generator, I get the > expected sequence. What do you mean by "expected"? Where are these expectations coming from? Other implementations of the Mersenne Twister? > If I use the same seed for Python's > random n

[Numpy-discussion] Mersenne Twister: Python vs. NumPy

2011-12-30 Thread Alan G Isaac
If I seed NumPy's random number generator, I get the expected sequence. If I use the same seed for Python's random number generator, I get a different sequence. 1. Why does the Python sequence differ from others? 2. Can I somehow put both MT's in a common state? Thank you, Alan Isaac _