<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/numpy.git/numpy/random/_generator.pyx, branch v1.20.3</title>
<subtitle>github.com: numpy/numpy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/'/>
<entry>
<title>MAINT: PR 18282 revisions</title>
<updated>2021-02-04T19:29:33+00:00</updated>
<author>
<name>Tyler Reddy</name>
<email>tyler.je.reddy@gmail.com</email>
</author>
<published>2021-02-02T01:03:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=c92393d5956a4813f892829c8c377af2c034308e'/>
<id>c92393d5956a4813f892829c8c377af2c034308e</id>
<content type='text'>
* based on reviewer feedback, instead of explicitly
supporting `memoryview` shuffling via `asarray()`, support
the shuffling implicitly by using `Sequence` instead
of `MutableSequence`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* based on reviewer feedback, instead of explicitly
supporting `memoryview` shuffling via `asarray()`, support
the shuffling implicitly by using `Sequence` instead
of `MutableSequence`
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: gracefully shuffle memoryviews</title>
<updated>2021-02-04T19:29:13+00:00</updated>
<author>
<name>Tyler Reddy</name>
<email>tyler.je.reddy@gmail.com</email>
</author>
<published>2021-02-01T16:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=652933a72c4bc5e2cf376bc199af4617d2a6713a'/>
<id>652933a72c4bc5e2cf376bc199af4617d2a6713a</id>
<content type='text'>
* allow graceful shuffling of memoryviews, with
same behavior as arrays, instead of producing
a warning on `memoryview` shuffle
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* allow graceful shuffling of memoryviews, with
same behavior as arrays, instead of producing
a warning on `memoryview` shuffle
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove duplicate axis check</title>
<updated>2021-01-24T20:02:10+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2021-01-23T19:36:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=3ed7689c9e5684b5490848f6f3b56c2bfc8cc6cf'/>
<id>3ed7689c9e5684b5490848f6f3b56c2bfc8cc6cf</id>
<content type='text'>
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Eric Wieser &lt;wieser.eric@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: shuffling empty array with axis=1 was broken</title>
<updated>2021-01-24T20:02:10+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2021-01-23T13:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=61f095bfaf161965539a670b7be40445d56b9741'/>
<id>61f095bfaf161965539a670b7be40445d56b9741</id>
<content type='text'>
This would trigger:
```
NotImplementedError: Axis argument is only supported on ndarray objects
```
because empty arrays and array scalars would take the "untyped" path.

The bug exists only for Generator, not in RandomState (it doesn't have
axis keyword for `shuffle`), but update both because it keeps
implementations in sync and the change results in more understandable
code also for RandomState.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This would trigger:
```
NotImplementedError: Axis argument is only supported on ndarray objects
```
because empty arrays and array scalars would take the "untyped" path.

The bug exists only for Generator, not in RandomState (it doesn't have
axis keyword for `shuffle`), but update both because it keeps
implementations in sync and the change results in more understandable
code also for RandomState.
</pre>
</div>
</content>
</entry>
<entry>
<title>MAINT: warn when shuffling unrecognized objects</title>
<updated>2021-01-24T20:02:10+00:00</updated>
<author>
<name>Ralf Gommers</name>
<email>ralf.gommers@gmail.com</email>
</author>
<published>2021-01-23T12:59:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=b9711cff97bd4347c04eef56371e6f6e8fe83243'/>
<id>b9711cff97bd4347c04eef56371e6f6e8fe83243</id>
<content type='text'>
Closes gh-18206
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes gh-18206
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: random: Fix default_rng docstring (#17375)</title>
<updated>2020-09-25T12:21:31+00:00</updated>
<author>
<name>Albert Villanova del Moral</name>
<email>8515462+albertvillanova@users.noreply.github.com</email>
</author>
<published>2020-09-25T12:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=02e6b062027666b22c68d91e280b28f57ee9c2b5'/>
<id>02e6b062027666b22c68d91e280b28f57ee9c2b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ENH: random: Add the method `permuted` to Generator. (#15121)</title>
<updated>2020-09-02T17:36:37+00:00</updated>
<author>
<name>Warren Weckesser</name>
<email>warren.weckesser@gmail.com</email>
</author>
<published>2020-09-02T17:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=f1d0378d3735aa97a86af3b87b8a9d9ee4575af7'/>
<id>f1d0378d3735aa97a86af3b87b8a9d9ee4575af7</id>
<content type='text'>
* ENH: random: Make _shuffle_raw and _shuffle_int standalone functions.

* ENH: random: Add the method `permuted` to Generator.

The method permuted(x, axis=None, out=None) shuffles an array.
Unlike the existing shuffle method, it shuffles the slices along
the given axis independently.

Closes gh-5173.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* ENH: random: Make _shuffle_raw and _shuffle_int standalone functions.

* ENH: random: Add the method `permuted` to Generator.

The method permuted(x, axis=None, out=None) shuffles an array.
Unlike the existing shuffle method, it shuffles the slices along
the given axis independently.

Closes gh-5173.</pre>
</div>
</content>
</entry>
<entry>
<title>BUG: Validate output size in bin- and multinomial</title>
<updated>2020-07-14T17:41:33+00:00</updated>
<author>
<name>Kevin Sheppard</name>
<email>kevin.k.sheppard@gmail.com</email>
</author>
<published>2020-07-14T16:55:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=89ecc557fc9205e06c9816ce2122f42e3adced02'/>
<id>89ecc557fc9205e06c9816ce2122f42e3adced02</id>
<content type='text'>
Check that size is not being broadcast

closes #16833
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check that size is not being broadcast

closes #16833
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: use print() instead of str() for generator object to pass circleci tests</title>
<updated>2020-07-12T22:50:15+00:00</updated>
<author>
<name>Laurie</name>
<email>lastephey@lbl.gov</email>
</author>
<published>2020-07-12T22:50:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=746b0fcc3eb18d7c6f724d4553536b6fdab38c6e'/>
<id>746b0fcc3eb18d7c6f724d4553536b6fdab38c6e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DOC: updates based on mattip's suggestions, add seed to all default_rng so tests will pass, get rid of directly printing generator object</title>
<updated>2020-07-12T22:04:27+00:00</updated>
<author>
<name>Laurie</name>
<email>lastephey@lbl.gov</email>
</author>
<published>2020-07-12T22:04:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/numpy.git/commit/?id=d88f217b26bf300dc0e5ecaf8e59b81f6a1d6e9d'/>
<id>d88f217b26bf300dc0e5ecaf8e59b81f6a1d6e9d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
