zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
U
P±d^    ã@s†ddlmZddlmZddlmZmZddlmZddl    m
Z
ddl m Z e eeeedœZ dd    d
„Zdefd d „Zdefd d„ZdS)é©Ú RandomState)ÚPhilox)ÚPCG64Ú    PCG64DXSM)ÚSFC64©Ú    Generator)ÚMT19937)r
rrrrr
cCs(|tkrt|}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
    z$ is not a known BitGenerator module.)Ú BitGeneratorsÚ
ValueErrorÚstr)Úbit_generator_nameZ bit_generator©rúKd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/random/_pickle.pyÚ__bit_generator_ctors
rcCs 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©rZbit_generator_ctorrrrÚ__generator_ctor(srcCs 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
    rrrrrÚ__randomstate_ctor=srN)r
)ZmtrandrZ_philoxrZ_pcg64rrZ_sfc64rZ
_generatorr    Z_mt19937r
r rrrrrrrÚ<module>s$     ü
ÿ
ÿ