Skip to content
New: Star-import, signal unraveling, Python 3.12 support, and more

# random_ module

Utilities for random number generation.

## set_seed function

    set_seed(
        seed
    )

Set seed.

## set_seed_nb function

    set_seed_nb(
        seed
    )

Set seed in numba.

#### Cookie consent

We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.

- Google Analytics
- GitHub

Manage settings