Just call rs = default_rng()
Again. On Wed, Jun 24, 2020, 20:31 Neal Becker <ndbeck...@gmail.com> wrote: > 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* > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@python.org > https://mail.python.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion