Just call

rs = default_rng()

Again.



On Wed, Jun 24, 2020, 20:31 Neal Becker <[email protected]> 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
> [email protected]
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
_______________________________________________
NumPy-Discussion mailing list
[email protected]
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to