Release 1.16.4
This is a feature release that is closely synchronized with the copy in NEP-19:
New features include:
- Add a fast path for broadcasting
RandomGenerator.randint
when usinguint64
orint64
. - Refactor PCG64 so that it does not rely on Cython conditional compilation.
- Add
RandomGenerator.brng
to access the basic RNG. - Allow multidimensional arrays in
RandomGenerator.choice
. - Speed-up
RandomGenerator.choice
when not replacing. The gains can be very large (1000x or more) when the input array is large but the sample size is small. - Add parameter checks in
RandomGenerator.multinomial
. - Fix an edge-case bug in
RandomGenerator.zipf
. - Allow 0 for sample in
RandomGenerator.hypergeometric
. - Add broadcasting to
RandomGenerator.multinomial
.