Add files using upload-large-folder tool
Browse files- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/__init__.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/_polybase.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/chebyshev.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/hermite.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/hermite_e.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/laguerre.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/legendre.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/polynomial.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/polyutils.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/__init__.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_laguerre.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_legendre.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_polynomial.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_polyutils.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_printing.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_symbol.cpython-310.pyc +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/random/bit_generator.cp310-win_amd64.lib +0 -0
- pythonProject/.venv/Lib/site-packages/numpy/random/bit_generator.pxd +35 -0
- pythonProject/.venv/Lib/site-packages/numpy/random/bit_generator.pyi +107 -0
- pythonProject/.venv/Lib/site-packages/numpy/random/c_distributions.pxd +119 -0
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (6.84 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/_polybase.cpython-310.pyc
ADDED
|
Binary file (36.5 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/chebyshev.cpython-310.pyc
ADDED
|
Binary file (61.6 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/hermite.cpython-310.pyc
ADDED
|
Binary file (54.1 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/hermite_e.cpython-310.pyc
ADDED
|
Binary file (51.7 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/laguerre.cpython-310.pyc
ADDED
|
Binary file (52 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/legendre.cpython-310.pyc
ADDED
|
Binary file (50.4 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/polynomial.cpython-310.pyc
ADDED
|
Binary file (51.8 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/__pycache__/polyutils.cpython-310.pyc
ADDED
|
Binary file (21.9 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/__init__.cpython-310.pyc
ADDED
|
Binary file (179 Bytes). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_laguerre.cpython-310.pyc
ADDED
|
Binary file (16.9 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_legendre.cpython-310.pyc
ADDED
|
Binary file (18.2 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_polynomial.cpython-310.pyc
ADDED
|
Binary file (20.2 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_polyutils.cpython-310.pyc
ADDED
|
Binary file (4.13 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_printing.cpython-310.pyc
ADDED
|
Binary file (20.7 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/polynomial/tests/__pycache__/test_symbol.cpython-310.pyc
ADDED
|
Binary file (8.4 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/random/bit_generator.cp310-win_amd64.lib
ADDED
|
Binary file (2.12 kB). View file
|
|
|
pythonProject/.venv/Lib/site-packages/numpy/random/bit_generator.pxd
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cimport numpy as np
|
| 2 |
+
from libc.stdint cimport uint32_t, uint64_t
|
| 3 |
+
|
| 4 |
+
cdef extern from "numpy/random/bitgen.h":
|
| 5 |
+
struct bitgen:
|
| 6 |
+
void *state
|
| 7 |
+
uint64_t (*next_uint64)(void *st) nogil
|
| 8 |
+
uint32_t (*next_uint32)(void *st) nogil
|
| 9 |
+
double (*next_double)(void *st) nogil
|
| 10 |
+
uint64_t (*next_raw)(void *st) nogil
|
| 11 |
+
|
| 12 |
+
ctypedef bitgen bitgen_t
|
| 13 |
+
|
| 14 |
+
cdef class BitGenerator():
|
| 15 |
+
cdef readonly object _seed_seq
|
| 16 |
+
cdef readonly object lock
|
| 17 |
+
cdef bitgen_t _bitgen
|
| 18 |
+
cdef readonly object _ctypes
|
| 19 |
+
cdef readonly object _cffi
|
| 20 |
+
cdef readonly object capsule
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
cdef class SeedSequence():
|
| 24 |
+
cdef readonly object entropy
|
| 25 |
+
cdef readonly tuple spawn_key
|
| 26 |
+
cdef readonly Py_ssize_t pool_size
|
| 27 |
+
cdef readonly object pool
|
| 28 |
+
cdef readonly uint32_t n_children_spawned
|
| 29 |
+
|
| 30 |
+
cdef mix_entropy(self, np.ndarray[np.npy_uint32, ndim=1] mixer,
|
| 31 |
+
np.ndarray[np.npy_uint32, ndim=1] entropy_array)
|
| 32 |
+
cdef get_assembled_entropy(self)
|
| 33 |
+
|
| 34 |
+
cdef class SeedlessSequence():
|
| 35 |
+
pass
|
pythonProject/.venv/Lib/site-packages/numpy/random/bit_generator.pyi
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import abc
|
| 2 |
+
from collections.abc import Callable, Mapping, Sequence
|
| 3 |
+
from threading import Lock
|
| 4 |
+
from typing import Any, ClassVar, Literal, NamedTuple, TypeAlias, TypedDict, overload, type_check_only
|
| 5 |
+
|
| 6 |
+
from _typeshed import Incomplete
|
| 7 |
+
from typing_extensions import CapsuleType, Self
|
| 8 |
+
|
| 9 |
+
import numpy as np
|
| 10 |
+
from numpy._typing import NDArray, _ArrayLikeInt_co, _DTypeLike, _ShapeLike, _UInt32Codes, _UInt64Codes
|
| 11 |
+
|
| 12 |
+
__all__ = ["BitGenerator", "SeedSequence"]
|
| 13 |
+
|
| 14 |
+
###
|
| 15 |
+
|
| 16 |
+
_DTypeLikeUint_: TypeAlias = _DTypeLike[np.uint32 | np.uint64] | _UInt32Codes | _UInt64Codes
|
| 17 |
+
|
| 18 |
+
@type_check_only
|
| 19 |
+
class _SeedSeqState(TypedDict):
|
| 20 |
+
entropy: int | Sequence[int] | None
|
| 21 |
+
spawn_key: tuple[int, ...]
|
| 22 |
+
pool_size: int
|
| 23 |
+
n_children_spawned: int
|
| 24 |
+
|
| 25 |
+
@type_check_only
|
| 26 |
+
class _Interface(NamedTuple):
|
| 27 |
+
state_address: Incomplete
|
| 28 |
+
state: Incomplete
|
| 29 |
+
next_uint64: Incomplete
|
| 30 |
+
next_uint32: Incomplete
|
| 31 |
+
next_double: Incomplete
|
| 32 |
+
bit_generator: Incomplete
|
| 33 |
+
|
| 34 |
+
@type_check_only
|
| 35 |
+
class _CythonMixin:
|
| 36 |
+
def __setstate_cython__(self, pyx_state: object, /) -> None: ...
|
| 37 |
+
def __reduce_cython__(self) -> Any: ... # noqa: ANN401
|
| 38 |
+
|
| 39 |
+
@type_check_only
|
| 40 |
+
class _GenerateStateMixin(_CythonMixin):
|
| 41 |
+
def generate_state(self, /, n_words: int, dtype: _DTypeLikeUint_ = ...) -> NDArray[np.uint32 | np.uint64]: ...
|
| 42 |
+
|
| 43 |
+
###
|
| 44 |
+
|
| 45 |
+
class ISeedSequence(abc.ABC):
|
| 46 |
+
@abc.abstractmethod
|
| 47 |
+
def generate_state(self, /, n_words: int, dtype: _DTypeLikeUint_ = ...) -> NDArray[np.uint32 | np.uint64]: ...
|
| 48 |
+
|
| 49 |
+
class ISpawnableSeedSequence(ISeedSequence, abc.ABC):
|
| 50 |
+
@abc.abstractmethod
|
| 51 |
+
def spawn(self, /, n_children: int) -> list[Self]: ...
|
| 52 |
+
|
| 53 |
+
class SeedlessSeedSequence(_GenerateStateMixin, ISpawnableSeedSequence):
|
| 54 |
+
def spawn(self, /, n_children: int) -> list[Self]: ...
|
| 55 |
+
|
| 56 |
+
class SeedSequence(_GenerateStateMixin, ISpawnableSeedSequence):
|
| 57 |
+
__pyx_vtable__: ClassVar[CapsuleType] = ...
|
| 58 |
+
|
| 59 |
+
entropy: int | Sequence[int] | None
|
| 60 |
+
spawn_key: tuple[int, ...]
|
| 61 |
+
pool_size: int
|
| 62 |
+
n_children_spawned: int
|
| 63 |
+
pool: NDArray[np.uint32]
|
| 64 |
+
|
| 65 |
+
def __init__(
|
| 66 |
+
self,
|
| 67 |
+
/,
|
| 68 |
+
entropy: _ArrayLikeInt_co | None = None,
|
| 69 |
+
*,
|
| 70 |
+
spawn_key: Sequence[int] = (),
|
| 71 |
+
pool_size: int = 4,
|
| 72 |
+
n_children_spawned: int = ...,
|
| 73 |
+
) -> None: ...
|
| 74 |
+
def spawn(self, /, n_children: int) -> list[Self]: ...
|
| 75 |
+
@property
|
| 76 |
+
def state(self) -> _SeedSeqState: ...
|
| 77 |
+
|
| 78 |
+
class BitGenerator(_CythonMixin, abc.ABC):
|
| 79 |
+
lock: Lock
|
| 80 |
+
@property
|
| 81 |
+
def state(self) -> Mapping[str, Any]: ...
|
| 82 |
+
@state.setter
|
| 83 |
+
def state(self, value: Mapping[str, Any], /) -> None: ...
|
| 84 |
+
@property
|
| 85 |
+
def seed_seq(self) -> ISeedSequence: ...
|
| 86 |
+
@property
|
| 87 |
+
def ctypes(self) -> _Interface: ...
|
| 88 |
+
@property
|
| 89 |
+
def cffi(self) -> _Interface: ...
|
| 90 |
+
@property
|
| 91 |
+
def capsule(self) -> CapsuleType: ...
|
| 92 |
+
|
| 93 |
+
#
|
| 94 |
+
def __init__(self, /, seed: _ArrayLikeInt_co | SeedSequence | None = None) -> None: ...
|
| 95 |
+
def __reduce__(self) -> tuple[Callable[[str], Self], tuple[str], tuple[Mapping[str, Any], ISeedSequence]]: ...
|
| 96 |
+
def spawn(self, /, n_children: int) -> list[Self]: ...
|
| 97 |
+
def _benchmark(self, /, cnt: int, method: str = "uint64") -> None: ...
|
| 98 |
+
|
| 99 |
+
#
|
| 100 |
+
@overload
|
| 101 |
+
def random_raw(self, /, size: None = None, output: Literal[True] = True) -> int: ...
|
| 102 |
+
@overload
|
| 103 |
+
def random_raw(self, /, size: _ShapeLike, output: Literal[True] = True) -> NDArray[np.uint64]: ...
|
| 104 |
+
@overload
|
| 105 |
+
def random_raw(self, /, size: _ShapeLike | None, output: Literal[False]) -> None: ...
|
| 106 |
+
@overload
|
| 107 |
+
def random_raw(self, /, size: _ShapeLike | None = None, *, output: Literal[False]) -> None: ...
|
pythonProject/.venv/Lib/site-packages/numpy/random/c_distributions.pxd
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#cython: wraparound=False, nonecheck=False, boundscheck=False, cdivision=True, language_level=3
|
| 2 |
+
from numpy cimport npy_intp
|
| 3 |
+
|
| 4 |
+
from libc.stdint cimport (uint64_t, int32_t, int64_t)
|
| 5 |
+
from numpy.random cimport bitgen_t
|
| 6 |
+
|
| 7 |
+
cdef extern from "numpy/random/distributions.h":
|
| 8 |
+
|
| 9 |
+
struct s_binomial_t:
|
| 10 |
+
int has_binomial
|
| 11 |
+
double psave
|
| 12 |
+
int64_t nsave
|
| 13 |
+
double r
|
| 14 |
+
double q
|
| 15 |
+
double fm
|
| 16 |
+
int64_t m
|
| 17 |
+
double p1
|
| 18 |
+
double xm
|
| 19 |
+
double xl
|
| 20 |
+
double xr
|
| 21 |
+
double c
|
| 22 |
+
double laml
|
| 23 |
+
double lamr
|
| 24 |
+
double p2
|
| 25 |
+
double p3
|
| 26 |
+
double p4
|
| 27 |
+
|
| 28 |
+
ctypedef s_binomial_t binomial_t
|
| 29 |
+
|
| 30 |
+
float random_standard_uniform_f(bitgen_t *bitgen_state) nogil
|
| 31 |
+
double random_standard_uniform(bitgen_t *bitgen_state) nogil
|
| 32 |
+
void random_standard_uniform_fill(bitgen_t* bitgen_state, npy_intp cnt, double *out) nogil
|
| 33 |
+
void random_standard_uniform_fill_f(bitgen_t *bitgen_state, npy_intp cnt, float *out) nogil
|
| 34 |
+
|
| 35 |
+
double random_standard_exponential(bitgen_t *bitgen_state) nogil
|
| 36 |
+
float random_standard_exponential_f(bitgen_t *bitgen_state) nogil
|
| 37 |
+
void random_standard_exponential_fill(bitgen_t *bitgen_state, npy_intp cnt, double *out) nogil
|
| 38 |
+
void random_standard_exponential_fill_f(bitgen_t *bitgen_state, npy_intp cnt, float *out) nogil
|
| 39 |
+
void random_standard_exponential_inv_fill(bitgen_t *bitgen_state, npy_intp cnt, double *out) nogil
|
| 40 |
+
void random_standard_exponential_inv_fill_f(bitgen_t *bitgen_state, npy_intp cnt, float *out) nogil
|
| 41 |
+
|
| 42 |
+
double random_standard_normal(bitgen_t* bitgen_state) nogil
|
| 43 |
+
float random_standard_normal_f(bitgen_t *bitgen_state) nogil
|
| 44 |
+
void random_standard_normal_fill(bitgen_t *bitgen_state, npy_intp count, double *out) nogil
|
| 45 |
+
void random_standard_normal_fill_f(bitgen_t *bitgen_state, npy_intp count, float *out) nogil
|
| 46 |
+
double random_standard_gamma(bitgen_t *bitgen_state, double shape) nogil
|
| 47 |
+
float random_standard_gamma_f(bitgen_t *bitgen_state, float shape) nogil
|
| 48 |
+
|
| 49 |
+
float random_standard_uniform_f(bitgen_t *bitgen_state) nogil
|
| 50 |
+
void random_standard_uniform_fill_f(bitgen_t* bitgen_state, npy_intp cnt, float *out) nogil
|
| 51 |
+
float random_standard_normal_f(bitgen_t* bitgen_state) nogil
|
| 52 |
+
float random_standard_gamma_f(bitgen_t *bitgen_state, float shape) nogil
|
| 53 |
+
|
| 54 |
+
int64_t random_positive_int64(bitgen_t *bitgen_state) nogil
|
| 55 |
+
int32_t random_positive_int32(bitgen_t *bitgen_state) nogil
|
| 56 |
+
int64_t random_positive_int(bitgen_t *bitgen_state) nogil
|
| 57 |
+
uint64_t random_uint(bitgen_t *bitgen_state) nogil
|
| 58 |
+
|
| 59 |
+
double random_normal(bitgen_t *bitgen_state, double loc, double scale) nogil
|
| 60 |
+
|
| 61 |
+
double random_gamma(bitgen_t *bitgen_state, double shape, double scale) nogil
|
| 62 |
+
float random_gamma_f(bitgen_t *bitgen_state, float shape, float scale) nogil
|
| 63 |
+
|
| 64 |
+
double random_exponential(bitgen_t *bitgen_state, double scale) nogil
|
| 65 |
+
double random_uniform(bitgen_t *bitgen_state, double lower, double range) nogil
|
| 66 |
+
double random_beta(bitgen_t *bitgen_state, double a, double b) nogil
|
| 67 |
+
double random_chisquare(bitgen_t *bitgen_state, double df) nogil
|
| 68 |
+
double random_f(bitgen_t *bitgen_state, double dfnum, double dfden) nogil
|
| 69 |
+
double random_standard_cauchy(bitgen_t *bitgen_state) nogil
|
| 70 |
+
double random_pareto(bitgen_t *bitgen_state, double a) nogil
|
| 71 |
+
double random_weibull(bitgen_t *bitgen_state, double a) nogil
|
| 72 |
+
double random_power(bitgen_t *bitgen_state, double a) nogil
|
| 73 |
+
double random_laplace(bitgen_t *bitgen_state, double loc, double scale) nogil
|
| 74 |
+
double random_gumbel(bitgen_t *bitgen_state, double loc, double scale) nogil
|
| 75 |
+
double random_logistic(bitgen_t *bitgen_state, double loc, double scale) nogil
|
| 76 |
+
double random_lognormal(bitgen_t *bitgen_state, double mean, double sigma) nogil
|
| 77 |
+
double random_rayleigh(bitgen_t *bitgen_state, double mode) nogil
|
| 78 |
+
double random_standard_t(bitgen_t *bitgen_state, double df) nogil
|
| 79 |
+
double random_noncentral_chisquare(bitgen_t *bitgen_state, double df,
|
| 80 |
+
double nonc) nogil
|
| 81 |
+
double random_noncentral_f(bitgen_t *bitgen_state, double dfnum,
|
| 82 |
+
double dfden, double nonc) nogil
|
| 83 |
+
double random_wald(bitgen_t *bitgen_state, double mean, double scale) nogil
|
| 84 |
+
double random_vonmises(bitgen_t *bitgen_state, double mu, double kappa) nogil
|
| 85 |
+
double random_triangular(bitgen_t *bitgen_state, double left, double mode,
|
| 86 |
+
double right) nogil
|
| 87 |
+
|
| 88 |
+
int64_t random_poisson(bitgen_t *bitgen_state, double lam) nogil
|
| 89 |
+
int64_t random_negative_binomial(bitgen_t *bitgen_state, double n, double p) nogil
|
| 90 |
+
int64_t random_binomial(bitgen_t *bitgen_state, double p, int64_t n, binomial_t *binomial) nogil
|
| 91 |
+
int64_t random_logseries(bitgen_t *bitgen_state, double p) nogil
|
| 92 |
+
int64_t random_geometric_search(bitgen_t *bitgen_state, double p) nogil
|
| 93 |
+
int64_t random_geometric_inversion(bitgen_t *bitgen_state, double p) nogil
|
| 94 |
+
int64_t random_geometric(bitgen_t *bitgen_state, double p) nogil
|
| 95 |
+
int64_t random_zipf(bitgen_t *bitgen_state, double a) nogil
|
| 96 |
+
int64_t random_hypergeometric(bitgen_t *bitgen_state, int64_t good, int64_t bad,
|
| 97 |
+
int64_t sample) nogil
|
| 98 |
+
|
| 99 |
+
uint64_t random_interval(bitgen_t *bitgen_state, uint64_t max) nogil
|
| 100 |
+
|
| 101 |
+
# Generate random uint64 numbers in closed interval [off, off + rng].
|
| 102 |
+
uint64_t random_bounded_uint64(bitgen_t *bitgen_state,
|
| 103 |
+
uint64_t off, uint64_t rng,
|
| 104 |
+
uint64_t mask, bint use_masked) nogil
|
| 105 |
+
|
| 106 |
+
void random_multinomial(bitgen_t *bitgen_state, int64_t n, int64_t *mnix,
|
| 107 |
+
double *pix, npy_intp d, binomial_t *binomial) nogil
|
| 108 |
+
|
| 109 |
+
int random_multivariate_hypergeometric_count(bitgen_t *bitgen_state,
|
| 110 |
+
int64_t total,
|
| 111 |
+
size_t num_colors, int64_t *colors,
|
| 112 |
+
int64_t nsample,
|
| 113 |
+
size_t num_variates, int64_t *variates) nogil
|
| 114 |
+
void random_multivariate_hypergeometric_marginals(bitgen_t *bitgen_state,
|
| 115 |
+
int64_t total,
|
| 116 |
+
size_t num_colors, int64_t *colors,
|
| 117 |
+
int64_t nsample,
|
| 118 |
+
size_t num_variates, int64_t *variates) nogil
|
| 119 |
+
|