bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / random / _pickle / __generator_ctor
function
numpy.random._pickle:__generator_ctor
source: build-install/usr/lib/python3.14/site-packages/numpy/random/_pickle.py :43
Signature
def __generator_ctor ( bit_generator_name = MT19937 , bit_generator_ctor = <function __bit_generator_ctor at 0x0000> ) Summary
Pickling helper function that returns a Generator object
Parameters
bit_generator_name: str or BitGeneratorString containing the core BitGenerator's name or a BitGenerator instance
bit_generator_ctor: callable, optionalCallable function that takes bit_generator_name as its only argument and returns an instantized bit generator.
Returns
rg: GeneratorGenerator using the named core BitGenerator
Aliases
-
numpy.random._pickle.__generator_ctor