Releases: bashtage/randomgen
Release 1.16.5
- Fixed bugs in multiple distributions that could result in
nan
values in rare circumstances (about 1 in 10E53) - Added keyword
closed
torandint
which changes sampling from the half-open interval[low, high)
to the closed interval[low, high]
. - Fixed a bug in
random_integers
that could lead to valid values being treated as invalid.
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
.
Release 1.16.3
This is a release that restores Python 2.7 compatibility.
Release 1.16.2
-
Updated Xoroshiro120 to use AUthor's latest parameterization
-
Closely synchronized with the version of randomgen being integrated
into NumPy, including removing:random_raw
, which have been moved to the individual basic RNGsrandom_uintegers
, which can be replaced withrandint
.
-
Added
RandomState
as a clone of NumPy's RandomState. -
Removed
LegacyGenerator
since this is nolonger needed -
Fixed many small bugs, including in cffi and ctype interfaces
Release 1.16.1
This is a minor release with doc changes and a small edge-case fixed:
- Synchronized with upstream changes.
- Fixed a bug in gamma generation if the shape parameters is 0.0.
Release 1.16.0
Release bug fixes and upstream changes:
- Fixed a bug that affected
DSFMT
when callingjump
orseed
that failed to reset the buffer. This resulted in up to 381 values from the previous state being used before the buffer refilled at the new state. - Fixed bugs in
Xoshiro512StarStar
Xorshift1024
where the fallback initialization used too few bytes. This bug is unlikely to be encountered since this path is only encountered if the system randomnumber generator fails. - Synchronized with upstream changes.
Release 1.15.1
Release with new generators, improved generation for integers and synchronized with upstream changes:
- Added Xoshiro256** and Xoshiro512**, the preferred generators of this class.
- Fixed bug in jump method of Random123 generators which did nto specify a default value.
- Added support for generating bounded uniform integers using Lemire's method.
- Synchronized with upstream changes, which requires moving the minimum supported NumPy to 1.13.
Release 1.15
Release the brings in upstream changes and syncs version numbering with NumPy.
There have been no changes to the core features or supported basic RNGs.
Release 1.14.4
Small release that fixes import noise on legacy Python:
- Add absolute_import to remove import noise
- Spelling corrections
Release 1.14.3
This point release contains minor improvements
- Improved legacy generator that no longer requires using separate RandomGenerator