%PDF- %PDF-
| Direktori : /usr/lib64/python3.9/site-packages/numpy/random/__pycache__/ |
| Current File : //usr/lib64/python3.9/site-packages/numpy/random/__pycache__/_pickle.cpython-39.opt-1.pyc |
a
z[yc � @ s~ d dl mZ d dlmZ d dlmZmZ d dlmZ d dl m
Z
d dlmZ eeeeed�Z
dd d
�Zddd�Zdd
d�ZdS )� )�RandomState)�Philox)�PCG64� PCG64DXSM)�SFC64)� Generator)�MT19937)r r r r r r c C s, | t v rt | }ntt| �d ��t|� �S )a
Pickling helper function that returns a Generator object
Parameters
----------
bit_generator_name : str
String containing the core BitGenerator
Returns
-------
rg : Generator
Generator using the named core BitGenerator
�$ is not a known BitGenerator module.)�
BitGenerators�
ValueError�strr �Zbit_generator_nameZ
bit_generator� r �:/usr/lib64/python3.9/site-packages/numpy/random/_pickle.py�__generator_ctor s
r c C s( | t v rt | }ntt| �d ��|� 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
r )r
r r r
r r r �__bit_generator_ctor( s
r c C s, | t v rt | }ntt| �d ��t|� �S )a'
Pickling helper function that returns a legacy RandomState-like object
Parameters
----------
bit_generator_name : str
String containing the core BitGenerator
Returns
-------
rs : RandomState
Legacy RandomState using the named core BitGenerator
r )r
r r r r
r r r �__randomstate_ctor? s
r N)r )r )r )Zmtrandr Z_philoxr Z_pcg64r r Z_sfc64r Z
_generatorr Z_mt19937r r
r r r r r r r �<module> s �