8000 ENH: use SeedSequence instead of seed() by mattip · Pull Request #13780 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: use SeedSequence instead of seed() #13780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 26, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
MAINT: remove leftover files, fix docs
  • Loading branch information
mattip committed Jun 25, 2019
commit c69f90c39b7e400e2dc620fb4cc0fb4962f0a5e4
4 changes: 2 additions & 2 deletions doc/source/reference/random/bit_generators/pcg64.rst
Original file line number Diff line number Diff line change
.. autoclass:: PCG64
:exclude-members:

Seeding and State
=================
State
=====

.. autosummary::
:toctree: generated/
Expand Down
3 changes: 1 addition & 2 deletions doc/source/reference/random/new-or-different.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,8 @@ And in more detail:

.. ipython:: python

rg.bit_generator.seed(0)
rg = Generator(PCG64(0))
rg.random(3, dtype='d')
rg.bit_generator.seed(0)
rg.random(3, dtype='f')

* Optional ``out`` argument that allows existing arrays to be filled for
Expand Down
Loading
0