| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@rkern A first attempt at an API for this. I followed the set/get pattern that is common in np.random so that there is no need for end users to access private variables. |
Sorry, something went wrong.
|
Random failure. |
Sorry, something went wrong.
|
This doesn't work because the C pointer from the capsule isn't changed when the Python attribute ._bit_generator gets reassigned. |
Sorry, something went wrong.
|
@rkern thanks - I thought it was a property and didn't check (it once was). Added a cdef method to allow it to be set. |
Sorry, something went wrong.
|
This seems like a reasonable thing to add. Is there anything to add around recommended best practices in the general numpy.random documentation? |
Sorry, something went wrong.
|
Needs rebase. |
Sorry, something went wrong.
Add a new version or seed that supports seeding any bit gen Add set/get_bit_generator as explicity methodds to support swapping closes numpy#21808
Fix typos and wrap length
Co-authored-by: Matti Picus <matti.picus@gmail.com>
|
Let's give this a shot. Thanks Kevin. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add a new version or seed that supports seeding any bit gen
Add set/get_bit_generator as explicity methodds to support swapping
closes #21808