Skip to content

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

Open
@flying-sheep

Description

@flying-sheep

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions