[Numpy-discussion] reseed random generator (1.19)

Neal Becker ndbecker2 at gmail.com
Wed Jun 24 15:29:55 EDT 2020


Consider the following:

from numpy.random import default_rng
rs = default_rng()

Now how do I re-seed the generator?
I thought perhaps rs.bit_generator.seed(), but there is no such attribute.

Thanks,
Neal

-- 
*Those who don't understand recursion are doomed to repeat it*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20200624/032efabf/attachment.html>


More information about the NumPy-Discussion mailing list