| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/numpy/random/__pycache__/ |
Upload File : |
�
�f � � � d dl mZ d dlmZ d dlmZmZ d dlmZ d dl m
Z
d dlmZ eeeeed�Z
dd �Zdefd
�Zdefd�Zy)
� ��RandomState)�Philox)�PCG64� PCG64DXSM)�SFC64�� Generator)�MT19937)r r r r r r c �` � | t v rt | } |� S t t | � dz � �)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�
ValueError�str)�bit_generator_name�
bit_generators �6/usr/lib/python3/dist-packages/numpy/random/_pickle.py�__bit_generator_ctorr sF � � �]�*�%�&8�9�
�
�?�� ��/�0� 4J� J� K� K� c �$ � 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 � �$ �'�(:�;�<�<r c �$ � t || � � S )a�
Pickling helper function that returns a legacy RandomState-like 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
-------
rs : RandomState
Legacy RandomState using the named core BitGenerator
r r s r �__randomstate_ctorr = s � �&