Skip to content

rand::RngCore implementation for numpy.random.Generator #498

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

Open
flying-sheep opened this issue Jun 5, 2025 · 0 comments · May be fixed by #499
Open

rand::RngCore implementation for numpy.random.Generator #498

flying-sheep opened this issue Jun 5, 2025 · 0 comments · May be fixed by #499

Comments

@flying-sheep
Copy link

flying-sheep commented Jun 5, 2025

We should allow a way to pass a numpy.random.Generator to a pyo3 function and use it on the Rust side by something requiring a rand::Rng by implementing rand::RngCore.

See

@flying-sheep flying-sheep linked a pull request Jun 6, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant