Skip to content

Releases: bashtage/randomgen

Release 1.16.5

28 Apr 07:37
Compare
Choose a tag to compare
  • Fixed bugs in multiple distributions that could result in nan values in rare circumstances (about 1 in 10E53)
  • Added keyword closed to randint 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

15 Apr 14:33
Compare
Choose a tag to compare

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 using uint64 or int64.
  • 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

03 Apr 14:27
38b6142
Compare
Choose a tag to compare

This is a release that restores Python 2.7 compatibility.

Release 1.16.2

02 Apr 13:56
Compare
Choose a tag to compare
  • 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 RNGs
    • random_uintegers, which can be replaced with randint.
  • 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

15 Mar 15:16
cd0cdae
Compare
Choose a tag to compare

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

05 Feb 09:34
9803ae0
Compare
Choose a tag to compare

Release bug fixes and upstream changes:

  • Fixed a bug that affected DSFMT when calling jump or seed 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

10 Nov 16:21
Compare
Choose a tag to compare

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

22 Sep 07:10
8f4f8e1
Compare
Choose a tag to compare

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

02 Apr 09:22
Compare
Choose a tag to compare

Small release that fixes import noise on legacy Python:

  • Add absolute_import to remove import noise
  • Spelling corrections

Release 1.14.3

28 Mar 23:15
5e79b69
Compare
Choose a tag to compare

This point release contains minor improvements

  • Improved legacy generator that no longer requires using separate RandomGenerator