This is a pre-release version (latest). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / random / _pickle / __bit_generator_ctor

function

numpy.random._pickle:__bit_generator_ctor

source: build-install/usr/lib/python3.14/site-packages/numpy/random/_pickle.py :17

Signature

def   __bit_generator_ctor ( bit_generator : str | type[BitGenerator] = MT19937 )

Summary

Pickling helper function that returns a bit generator object

Parameters

bit_generator : type[BitGenerator] or str

BitGenerator class or string containing the name of the BitGenerator

Returns

: BitGenerator

BitGenerator instance

Aliases

  • numpy.random._pickle.__bit_generator_ctor