[Numpy-discussion] Numpy random: independent streams
Ludwig
ludwigbrinckmann@gmail....
Wed Aug 6 04:30:10 CDT 2008
The Python standard random API allows me to define multiple independent
random streams, which I can control with their own seed, e.g.
import random
generator_1 = random.Random()
generator_2 = random.Random()
generator_1.seed(100)
generator_2.seed(100)
So now generator_1 and 2 will produce the same sequence.
Is there an equivalent for this in numpy? (Apart from, as it seems, the
oldnumeric package http://numpy.scipy.org/numpydoc/numpy-20.html)?
Ludwig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080806/eb73e620/attachment-0001.html
More information about the Numpy-discussion
mailing list