[Numpy-discussion] next NumPy community meeting

2022-06-19 Thread Inessa Pawson
The next NumPy community meeting will be held this Wednesday, June 22nd at 18:00 (6 pm) UTC. Join us via Zoom: https://berkeley.zoom.us/j/762261535 Everyone is welcome and encouraged to attend. To add to the meeting agenda the topics you’d like to discuss, follow the link: https://hackmd.io/76o-I

[Numpy-discussion] Re: seed for new random number generator

2022-06-19 Thread Kevin Sheppard
On Sun, Jun 19, 2022 at 4:36 PM Robert Kern wrote: > On Sun, Jun 19, 2022 at 9:37 AM Pieter Eendebak > wrote: > >> Hi everyone, >> >> The new numpy random interface (e.g. r=numpy.random.default_rng; >> r.random) is much faster than the old one (e.g. np.random.random). When >> converting code fr

[Numpy-discussion] Re: seed for new random number generator

2022-06-19 Thread Robert Kern
On Sun, Jun 19, 2022 at 9:37 AM Pieter Eendebak wrote: > Hi everyone, > > The new numpy random interface (e.g. r=numpy.random.default_rng; r.random) > is much faster than the old one (e.g. np.random.random). When converting > code from the old style to the new style I miss having a way to set th

[Numpy-discussion] seed for new random number generator

2022-06-19 Thread Pieter Eendebak
Hi everyone, The new numpy random interface (e.g. r=numpy.random.default_rng; r.random) is much faster than the old one (e.g. np.random.random). When converting code from the old style to the new style I miss having a way to set the seed of the RNG I tried: rng.bit_generator = np.random.PCG64(s