ΙnK d dl mZ d dlmZ d dlmZmZ d dlmZ d dl m
Z
d dlmZ eeeeedZ
dd Zdefd
ZdefdZdS )
RandomState)Philox)PCG64 PCG64DXSM)SFC64 Generator)MT19937)r r r r r r c | t v rt | }nt t | dz | S )a
Pickling helper function that returns a bit generator object
Parameters
----------
bit_generator_name : str
String containing the name of the BitGenerator
Returns
-------
bit_generator : BitGenerator
BitGenerator instance
z$ is not a known BitGenerator module.)
BitGenerators
ValueErrorstr)bit_generator_name
bit_generators h/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/numpy/random/_pickle.py__bit_generator_ctorr sV ]**%&89
/00 4J J K K K =?? c 2 t || S )a
Pickling helper function that returns a Generator object
Parameters
----------
bit_generator_name : str
String containing the core BitGenerator's name
bit_generator_ctor : callable, optional
Callable function that takes bit_generator_name as its only argument
and returns an instantized bit generator.
Returns
-------
rg : Generator
Generator using the named core BitGenerator
r r bit_generator_ctors r __generator_ctorr ( s $ ''(:;;<<