Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- env-llmeval/lib/python3.10/site-packages/scipy/special/_ellip_harm_2.cpython-310-x86_64-linux-gnu.so +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/special/_lambertw.py +149 -0
- env-llmeval/lib/python3.10/site-packages/scipy/special/_test_internal.pyi +9 -0
- env-llmeval/lib/python3.10/site-packages/scipy/special/_ufuncs_cxx.cpython-310-x86_64-linux-gnu.so +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/special/_ufuncs_defs.h +185 -0
- env-llmeval/lib/python3.10/site-packages/scipy/special/cython_special.pxd +261 -0
- env-llmeval/lib/python3.10/site-packages/scipy/special/orthogonal.py +47 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_axis_nan_policy.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_binned_statistic.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_binomtest.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_bws_test.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_censored_data.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_common.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_constants.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_continuous_distns.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_covariance.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_crosstab.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_discrete_distns.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_distn_infrastructure.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_distr_params.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_entropy.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_fit.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_generate_pyx.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_hypotests.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_kde.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_ksstats.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_mannwhitneyu.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_morestats.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_mstats_basic.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_mstats_extras.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_multicomp.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_multivariate.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_odds_ratio.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_page_trend_test.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_qmc.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_qmvnt.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_relative_risk.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_resampling.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_result_classes.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_rvs_sampling.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_sampling.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_sensitivity_analysis.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_stats_mstats_common.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_stats_py.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_survival.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_tukeylambda_stats.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_variation.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_warnings_errors.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_wilcoxon.cpython-310.pyc +0 -0
env-llmeval/lib/python3.10/site-packages/scipy/special/_ellip_harm_2.cpython-310-x86_64-linux-gnu.so
ADDED
Binary file (138 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/special/_lambertw.py
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from ._ufuncs import _lambertw
|
2 |
+
|
3 |
+
import numpy as np
|
4 |
+
|
5 |
+
|
6 |
+
def lambertw(z, k=0, tol=1e-8):
|
7 |
+
r"""
|
8 |
+
lambertw(z, k=0, tol=1e-8)
|
9 |
+
|
10 |
+
Lambert W function.
|
11 |
+
|
12 |
+
The Lambert W function `W(z)` is defined as the inverse function
|
13 |
+
of ``w * exp(w)``. In other words, the value of ``W(z)`` is
|
14 |
+
such that ``z = W(z) * exp(W(z))`` for any complex number
|
15 |
+
``z``.
|
16 |
+
|
17 |
+
The Lambert W function is a multivalued function with infinitely
|
18 |
+
many branches. Each branch gives a separate solution of the
|
19 |
+
equation ``z = w exp(w)``. Here, the branches are indexed by the
|
20 |
+
integer `k`.
|
21 |
+
|
22 |
+
Parameters
|
23 |
+
----------
|
24 |
+
z : array_like
|
25 |
+
Input argument.
|
26 |
+
k : int, optional
|
27 |
+
Branch index.
|
28 |
+
tol : float, optional
|
29 |
+
Evaluation tolerance.
|
30 |
+
|
31 |
+
Returns
|
32 |
+
-------
|
33 |
+
w : array
|
34 |
+
`w` will have the same shape as `z`.
|
35 |
+
|
36 |
+
See Also
|
37 |
+
--------
|
38 |
+
wrightomega : the Wright Omega function
|
39 |
+
|
40 |
+
Notes
|
41 |
+
-----
|
42 |
+
All branches are supported by `lambertw`:
|
43 |
+
|
44 |
+
* ``lambertw(z)`` gives the principal solution (branch 0)
|
45 |
+
* ``lambertw(z, k)`` gives the solution on branch `k`
|
46 |
+
|
47 |
+
The Lambert W function has two partially real branches: the
|
48 |
+
principal branch (`k = 0`) is real for real ``z > -1/e``, and the
|
49 |
+
``k = -1`` branch is real for ``-1/e < z < 0``. All branches except
|
50 |
+
``k = 0`` have a logarithmic singularity at ``z = 0``.
|
51 |
+
|
52 |
+
**Possible issues**
|
53 |
+
|
54 |
+
The evaluation can become inaccurate very close to the branch point
|
55 |
+
at ``-1/e``. In some corner cases, `lambertw` might currently
|
56 |
+
fail to converge, or can end up on the wrong branch.
|
57 |
+
|
58 |
+
**Algorithm**
|
59 |
+
|
60 |
+
Halley's iteration is used to invert ``w * exp(w)``, using a first-order
|
61 |
+
asymptotic approximation (O(log(w)) or `O(w)`) as the initial estimate.
|
62 |
+
|
63 |
+
The definition, implementation and choice of branches is based on [2]_.
|
64 |
+
|
65 |
+
References
|
66 |
+
----------
|
67 |
+
.. [1] https://en.wikipedia.org/wiki/Lambert_W_function
|
68 |
+
.. [2] Corless et al, "On the Lambert W function", Adv. Comp. Math. 5
|
69 |
+
(1996) 329-359.
|
70 |
+
https://cs.uwaterloo.ca/research/tr/1993/03/W.pdf
|
71 |
+
|
72 |
+
Examples
|
73 |
+
--------
|
74 |
+
The Lambert W function is the inverse of ``w exp(w)``:
|
75 |
+
|
76 |
+
>>> import numpy as np
|
77 |
+
>>> from scipy.special import lambertw
|
78 |
+
>>> w = lambertw(1)
|
79 |
+
>>> w
|
80 |
+
(0.56714329040978384+0j)
|
81 |
+
>>> w * np.exp(w)
|
82 |
+
(1.0+0j)
|
83 |
+
|
84 |
+
Any branch gives a valid inverse:
|
85 |
+
|
86 |
+
>>> w = lambertw(1, k=3)
|
87 |
+
>>> w
|
88 |
+
(-2.8535817554090377+17.113535539412148j)
|
89 |
+
>>> w*np.exp(w)
|
90 |
+
(1.0000000000000002+1.609823385706477e-15j)
|
91 |
+
|
92 |
+
**Applications to equation-solving**
|
93 |
+
|
94 |
+
The Lambert W function may be used to solve various kinds of
|
95 |
+
equations. We give two examples here.
|
96 |
+
|
97 |
+
First, the function can be used to solve implicit equations of the
|
98 |
+
form
|
99 |
+
|
100 |
+
:math:`x = a + b e^{c x}`
|
101 |
+
|
102 |
+
for :math:`x`. We assume :math:`c` is not zero. After a little
|
103 |
+
algebra, the equation may be written
|
104 |
+
|
105 |
+
:math:`z e^z = -b c e^{a c}`
|
106 |
+
|
107 |
+
where :math:`z = c (a - x)`. :math:`z` may then be expressed using
|
108 |
+
the Lambert W function
|
109 |
+
|
110 |
+
:math:`z = W(-b c e^{a c})`
|
111 |
+
|
112 |
+
giving
|
113 |
+
|
114 |
+
:math:`x = a - W(-b c e^{a c})/c`
|
115 |
+
|
116 |
+
For example,
|
117 |
+
|
118 |
+
>>> a = 3
|
119 |
+
>>> b = 2
|
120 |
+
>>> c = -0.5
|
121 |
+
|
122 |
+
The solution to :math:`x = a + b e^{c x}` is:
|
123 |
+
|
124 |
+
>>> x = a - lambertw(-b*c*np.exp(a*c))/c
|
125 |
+
>>> x
|
126 |
+
(3.3707498368978794+0j)
|
127 |
+
|
128 |
+
Verify that it solves the equation:
|
129 |
+
|
130 |
+
>>> a + b*np.exp(c*x)
|
131 |
+
(3.37074983689788+0j)
|
132 |
+
|
133 |
+
The Lambert W function may also be used find the value of the infinite
|
134 |
+
power tower :math:`z^{z^{z^{\ldots}}}`:
|
135 |
+
|
136 |
+
>>> def tower(z, n):
|
137 |
+
... if n == 0:
|
138 |
+
... return z
|
139 |
+
... return z ** tower(z, n-1)
|
140 |
+
...
|
141 |
+
>>> tower(0.5, 100)
|
142 |
+
0.641185744504986
|
143 |
+
>>> -lambertw(-np.log(0.5)) / np.log(0.5)
|
144 |
+
(0.64118574450498589+0j)
|
145 |
+
"""
|
146 |
+
# TODO: special expert should inspect this
|
147 |
+
# interception; better place to do it?
|
148 |
+
k = np.asarray(k, dtype=np.dtype("long"))
|
149 |
+
return _lambertw(z, k, tol)
|
env-llmeval/lib/python3.10/site-packages/scipy/special/_test_internal.pyi
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import numpy as np
|
2 |
+
|
3 |
+
def have_fenv() -> bool: ...
|
4 |
+
def random_double(size: int) -> np.float64: ...
|
5 |
+
def test_add_round(size: int, mode: str): ...
|
6 |
+
|
7 |
+
def _dd_exp(xhi: float, xlo: float) -> tuple[float, float]: ...
|
8 |
+
def _dd_log(xhi: float, xlo: float) -> tuple[float, float]: ...
|
9 |
+
def _dd_expm1(xhi: float, xlo: float) -> tuple[float, float]: ...
|
env-llmeval/lib/python3.10/site-packages/scipy/special/_ufuncs_cxx.cpython-310-x86_64-linux-gnu.so
ADDED
Binary file (655 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/special/_ufuncs_defs.h
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#ifndef UFUNCS_PROTO_H
|
2 |
+
#define UFUNCS_PROTO_H 1
|
3 |
+
#include "_cosine.h"
|
4 |
+
npy_double cosine_cdf(npy_double);
|
5 |
+
npy_double cosine_invcdf(npy_double);
|
6 |
+
#include "cephes.h"
|
7 |
+
npy_double cospi(npy_double);
|
8 |
+
npy_double igam_fac(npy_double, npy_double);
|
9 |
+
npy_double kolmogc(npy_double);
|
10 |
+
npy_double kolmogci(npy_double);
|
11 |
+
npy_double kolmogp(npy_double);
|
12 |
+
npy_double lanczos_sum_expg_scaled(npy_double);
|
13 |
+
npy_double lgam1p(npy_double);
|
14 |
+
npy_double log1pmx(npy_double);
|
15 |
+
npy_double riemann_zeta(npy_double);
|
16 |
+
#include "scaled_exp1.h"
|
17 |
+
npy_double scaled_exp1(npy_double);
|
18 |
+
npy_double sinpi(npy_double);
|
19 |
+
npy_double smirnovc(npy_int, npy_double);
|
20 |
+
npy_double smirnovci(npy_int, npy_double);
|
21 |
+
npy_double smirnovp(npy_int, npy_double);
|
22 |
+
npy_double struve_asymp_large_z(npy_double, npy_double, npy_int, npy_double *);
|
23 |
+
npy_double struve_bessel_series(npy_double, npy_double, npy_int, npy_double *);
|
24 |
+
npy_double struve_power_series(npy_double, npy_double, npy_int, npy_double *);
|
25 |
+
npy_double zeta(npy_double, npy_double);
|
26 |
+
#include "amos_wrappers.h"
|
27 |
+
npy_int airy_wrap(npy_double, npy_double *, npy_double *, npy_double *, npy_double *);
|
28 |
+
npy_int cairy_wrap(npy_cdouble, npy_cdouble *, npy_cdouble *, npy_cdouble *, npy_cdouble *);
|
29 |
+
npy_int cairy_wrap_e(npy_cdouble, npy_cdouble *, npy_cdouble *, npy_cdouble *, npy_cdouble *);
|
30 |
+
npy_int cairy_wrap_e_real(npy_double, npy_double *, npy_double *, npy_double *, npy_double *);
|
31 |
+
npy_double bdtr(npy_double, npy_int, npy_double);
|
32 |
+
npy_double bdtrc(npy_double, npy_int, npy_double);
|
33 |
+
npy_double bdtri(npy_double, npy_int, npy_double);
|
34 |
+
#include "specfun_wrappers.h"
|
35 |
+
npy_double bei_wrap(npy_double);
|
36 |
+
npy_double beip_wrap(npy_double);
|
37 |
+
npy_double ber_wrap(npy_double);
|
38 |
+
npy_double berp_wrap(npy_double);
|
39 |
+
npy_double besselpoly(npy_double, npy_double, npy_double);
|
40 |
+
npy_double beta(npy_double, npy_double);
|
41 |
+
npy_double lbeta(npy_double, npy_double);
|
42 |
+
npy_double btdtr(npy_double, npy_double, npy_double);
|
43 |
+
npy_double incbi(npy_double, npy_double, npy_double);
|
44 |
+
npy_double cbrt(npy_double);
|
45 |
+
npy_double chdtr(npy_double, npy_double);
|
46 |
+
npy_double chdtrc(npy_double, npy_double);
|
47 |
+
npy_double chdtri(npy_double, npy_double);
|
48 |
+
npy_double cosdg(npy_double);
|
49 |
+
npy_double cosm1(npy_double);
|
50 |
+
npy_double cotdg(npy_double);
|
51 |
+
npy_double ellpe(npy_double);
|
52 |
+
npy_double ellie(npy_double, npy_double);
|
53 |
+
npy_int ellpj(npy_double, npy_double, npy_double *, npy_double *, npy_double *, npy_double *);
|
54 |
+
npy_double ellik(npy_double, npy_double);
|
55 |
+
npy_double ellpk(npy_double);
|
56 |
+
npy_double erf(npy_double);
|
57 |
+
npy_double erfc(npy_double);
|
58 |
+
npy_double erfcinv(npy_double);
|
59 |
+
npy_cdouble cexp1_wrap(npy_cdouble);
|
60 |
+
npy_double exp1_wrap(npy_double);
|
61 |
+
npy_double exp10(npy_double);
|
62 |
+
npy_double exp2(npy_double);
|
63 |
+
npy_cdouble cexpi_wrap(npy_cdouble);
|
64 |
+
npy_double expi_wrap(npy_double);
|
65 |
+
npy_double expm1(npy_double);
|
66 |
+
npy_double expn(npy_int, npy_double);
|
67 |
+
npy_double fdtr(npy_double, npy_double, npy_double);
|
68 |
+
npy_double fdtrc(npy_double, npy_double, npy_double);
|
69 |
+
npy_double fdtri(npy_double, npy_double, npy_double);
|
70 |
+
npy_int fresnl(npy_double, npy_double *, npy_double *);
|
71 |
+
npy_int cfresnl_wrap(npy_cdouble, npy_cdouble *, npy_cdouble *);
|
72 |
+
npy_double Gamma(npy_double);
|
73 |
+
npy_double igam(npy_double, npy_double);
|
74 |
+
npy_double igamc(npy_double, npy_double);
|
75 |
+
npy_double igamci(npy_double, npy_double);
|
76 |
+
npy_double igami(npy_double, npy_double);
|
77 |
+
npy_double lgam(npy_double);
|
78 |
+
npy_double gammasgn(npy_double);
|
79 |
+
npy_double gdtr(npy_double, npy_double, npy_double);
|
80 |
+
npy_double gdtrc(npy_double, npy_double, npy_double);
|
81 |
+
npy_cdouble cbesh_wrap1(npy_double, npy_cdouble);
|
82 |
+
npy_cdouble cbesh_wrap1_e(npy_double, npy_cdouble);
|
83 |
+
npy_cdouble cbesh_wrap2(npy_double, npy_cdouble);
|
84 |
+
npy_cdouble cbesh_wrap2_e(npy_double, npy_cdouble);
|
85 |
+
npy_cdouble chyp1f1_wrap(npy_double, npy_double, npy_cdouble);
|
86 |
+
npy_double hyp2f1(npy_double, npy_double, npy_double, npy_double);
|
87 |
+
npy_double i0(npy_double);
|
88 |
+
npy_double i0e(npy_double);
|
89 |
+
npy_double i1(npy_double);
|
90 |
+
npy_double i1e(npy_double);
|
91 |
+
npy_int it2i0k0_wrap(npy_double, npy_double *, npy_double *);
|
92 |
+
npy_int it2j0y0_wrap(npy_double, npy_double *, npy_double *);
|
93 |
+
npy_double it2struve0_wrap(npy_double);
|
94 |
+
npy_int itairy_wrap(npy_double, npy_double *, npy_double *, npy_double *, npy_double *);
|
95 |
+
npy_int it1i0k0_wrap(npy_double, npy_double *, npy_double *);
|
96 |
+
npy_int it1j0y0_wrap(npy_double, npy_double *, npy_double *);
|
97 |
+
npy_double itmodstruve0_wrap(npy_double);
|
98 |
+
npy_double itstruve0_wrap(npy_double);
|
99 |
+
npy_cdouble cbesi_wrap(npy_double, npy_cdouble);
|
100 |
+
npy_double iv(npy_double, npy_double);
|
101 |
+
npy_cdouble cbesi_wrap_e(npy_double, npy_cdouble);
|
102 |
+
npy_double cbesi_wrap_e_real(npy_double, npy_double);
|
103 |
+
npy_double j0(npy_double);
|
104 |
+
npy_double j1(npy_double);
|
105 |
+
npy_cdouble cbesj_wrap(npy_double, npy_cdouble);
|
106 |
+
npy_double cbesj_wrap_real(npy_double, npy_double);
|
107 |
+
npy_cdouble cbesj_wrap_e(npy_double, npy_cdouble);
|
108 |
+
npy_double cbesj_wrap_e_real(npy_double, npy_double);
|
109 |
+
npy_double k0(npy_double);
|
110 |
+
npy_double k0e(npy_double);
|
111 |
+
npy_double k1(npy_double);
|
112 |
+
npy_double k1e(npy_double);
|
113 |
+
npy_double kei_wrap(npy_double);
|
114 |
+
npy_double keip_wrap(npy_double);
|
115 |
+
npy_int kelvin_wrap(npy_double, npy_cdouble *, npy_cdouble *, npy_cdouble *, npy_cdouble *);
|
116 |
+
npy_double ker_wrap(npy_double);
|
117 |
+
npy_double kerp_wrap(npy_double);
|
118 |
+
npy_double cbesk_wrap_real_int(npy_int, npy_double);
|
119 |
+
npy_double kolmogi(npy_double);
|
120 |
+
npy_double kolmogorov(npy_double);
|
121 |
+
npy_cdouble cbesk_wrap(npy_double, npy_cdouble);
|
122 |
+
npy_double cbesk_wrap_real(npy_double, npy_double);
|
123 |
+
npy_cdouble cbesk_wrap_e(npy_double, npy_cdouble);
|
124 |
+
npy_double cbesk_wrap_e_real(npy_double, npy_double);
|
125 |
+
npy_double log1p(npy_double);
|
126 |
+
npy_double pmv_wrap(npy_double, npy_double, npy_double);
|
127 |
+
npy_double cem_cva_wrap(npy_double, npy_double);
|
128 |
+
npy_double sem_cva_wrap(npy_double, npy_double);
|
129 |
+
npy_int cem_wrap(npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
130 |
+
npy_int mcm1_wrap(npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
131 |
+
npy_int mcm2_wrap(npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
132 |
+
npy_int msm1_wrap(npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
133 |
+
npy_int msm2_wrap(npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
134 |
+
npy_int sem_wrap(npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
135 |
+
npy_int modified_fresnel_minus_wrap(npy_double, npy_cdouble *, npy_cdouble *);
|
136 |
+
npy_int modified_fresnel_plus_wrap(npy_double, npy_cdouble *, npy_cdouble *);
|
137 |
+
npy_double struve_l(npy_double, npy_double);
|
138 |
+
npy_double nbdtr(npy_int, npy_int, npy_double);
|
139 |
+
npy_double nbdtrc(npy_int, npy_int, npy_double);
|
140 |
+
npy_double nbdtri(npy_int, npy_int, npy_double);
|
141 |
+
npy_double ndtr(npy_double);
|
142 |
+
npy_double ndtri(npy_double);
|
143 |
+
npy_double oblate_aswfa_nocv_wrap(npy_double, npy_double, npy_double, npy_double, npy_double *);
|
144 |
+
npy_int oblate_aswfa_wrap(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
145 |
+
npy_double oblate_segv_wrap(npy_double, npy_double, npy_double);
|
146 |
+
npy_double oblate_radial1_nocv_wrap(npy_double, npy_double, npy_double, npy_double, npy_double *);
|
147 |
+
npy_int oblate_radial1_wrap(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
148 |
+
npy_double oblate_radial2_nocv_wrap(npy_double, npy_double, npy_double, npy_double, npy_double *);
|
149 |
+
npy_int oblate_radial2_wrap(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
150 |
+
npy_double owens_t(npy_double, npy_double);
|
151 |
+
npy_int pbdv_wrap(npy_double, npy_double, npy_double *, npy_double *);
|
152 |
+
npy_int pbvv_wrap(npy_double, npy_double, npy_double *, npy_double *);
|
153 |
+
npy_int pbwa_wrap(npy_double, npy_double, npy_double *, npy_double *);
|
154 |
+
npy_double pdtr(npy_double, npy_double);
|
155 |
+
npy_double pdtrc(npy_double, npy_double);
|
156 |
+
npy_double pdtri(npy_int, npy_double);
|
157 |
+
npy_double poch(npy_double, npy_double);
|
158 |
+
npy_double prolate_aswfa_nocv_wrap(npy_double, npy_double, npy_double, npy_double, npy_double *);
|
159 |
+
npy_int prolate_aswfa_wrap(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
160 |
+
npy_double prolate_segv_wrap(npy_double, npy_double, npy_double);
|
161 |
+
npy_double prolate_radial1_nocv_wrap(npy_double, npy_double, npy_double, npy_double, npy_double *);
|
162 |
+
npy_int prolate_radial1_wrap(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
163 |
+
npy_double prolate_radial2_nocv_wrap(npy_double, npy_double, npy_double, npy_double, npy_double *);
|
164 |
+
npy_int prolate_radial2_wrap(npy_double, npy_double, npy_double, npy_double, npy_double, npy_double *, npy_double *);
|
165 |
+
npy_double radian(npy_double, npy_double, npy_double);
|
166 |
+
npy_double rgamma(npy_double);
|
167 |
+
npy_double round(npy_double);
|
168 |
+
npy_int shichi(npy_double, npy_double *, npy_double *);
|
169 |
+
npy_int sici(npy_double, npy_double *, npy_double *);
|
170 |
+
npy_double sindg(npy_double);
|
171 |
+
npy_double smirnov(npy_int, npy_double);
|
172 |
+
npy_double smirnovi(npy_int, npy_double);
|
173 |
+
npy_double spence(npy_double);
|
174 |
+
npy_double struve_h(npy_double, npy_double);
|
175 |
+
npy_double tandg(npy_double);
|
176 |
+
npy_double tukeylambdacdf(npy_double, npy_double);
|
177 |
+
npy_double y0(npy_double);
|
178 |
+
npy_double y1(npy_double);
|
179 |
+
npy_double yn(npy_int, npy_double);
|
180 |
+
npy_cdouble cbesy_wrap(npy_double, npy_cdouble);
|
181 |
+
npy_double cbesy_wrap_real(npy_double, npy_double);
|
182 |
+
npy_cdouble cbesy_wrap_e(npy_double, npy_cdouble);
|
183 |
+
npy_double cbesy_wrap_e_real(npy_double, npy_double);
|
184 |
+
npy_double zetac(npy_double);
|
185 |
+
#endif
|
env-llmeval/lib/python3.10/site-packages/scipy/special/cython_special.pxd
ADDED
@@ -0,0 +1,261 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file is automatically generated by _generate_pyx.py.
|
2 |
+
# Do not edit manually!
|
3 |
+
|
4 |
+
ctypedef fused number_t:
|
5 |
+
double complex
|
6 |
+
double
|
7 |
+
|
8 |
+
cpdef number_t spherical_jn(long n, number_t z, bint derivative=*) noexcept nogil
|
9 |
+
cpdef number_t spherical_yn(long n, number_t z, bint derivative=*) noexcept nogil
|
10 |
+
cpdef number_t spherical_in(long n, number_t z, bint derivative=*) noexcept nogil
|
11 |
+
cpdef number_t spherical_kn(long n, number_t z, bint derivative=*) noexcept nogil
|
12 |
+
|
13 |
+
ctypedef fused Dd_number_t:
|
14 |
+
double complex
|
15 |
+
double
|
16 |
+
|
17 |
+
ctypedef fused df_number_t:
|
18 |
+
double
|
19 |
+
float
|
20 |
+
|
21 |
+
ctypedef fused dfg_number_t:
|
22 |
+
double
|
23 |
+
float
|
24 |
+
long double
|
25 |
+
|
26 |
+
ctypedef fused dl_number_t:
|
27 |
+
double
|
28 |
+
long
|
29 |
+
|
30 |
+
cpdef double voigt_profile(double x0, double x1, double x2) noexcept nogil
|
31 |
+
cpdef double agm(double x0, double x1) noexcept nogil
|
32 |
+
cdef void airy(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1, Dd_number_t *y2, Dd_number_t *y3) noexcept nogil
|
33 |
+
cdef void airye(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1, Dd_number_t *y2, Dd_number_t *y3) noexcept nogil
|
34 |
+
cpdef double bdtr(double x0, dl_number_t x1, double x2) noexcept nogil
|
35 |
+
cpdef double bdtrc(double x0, dl_number_t x1, double x2) noexcept nogil
|
36 |
+
cpdef double bdtri(double x0, dl_number_t x1, double x2) noexcept nogil
|
37 |
+
cpdef double bdtrik(double x0, double x1, double x2) noexcept nogil
|
38 |
+
cpdef double bdtrin(double x0, double x1, double x2) noexcept nogil
|
39 |
+
cpdef double bei(double x0) noexcept nogil
|
40 |
+
cpdef double beip(double x0) noexcept nogil
|
41 |
+
cpdef double ber(double x0) noexcept nogil
|
42 |
+
cpdef double berp(double x0) noexcept nogil
|
43 |
+
cpdef double besselpoly(double x0, double x1, double x2) noexcept nogil
|
44 |
+
cpdef double beta(double x0, double x1) noexcept nogil
|
45 |
+
cpdef df_number_t betainc(df_number_t x0, df_number_t x1, df_number_t x2) noexcept nogil
|
46 |
+
cpdef df_number_t betaincc(df_number_t x0, df_number_t x1, df_number_t x2) noexcept nogil
|
47 |
+
cpdef df_number_t betaincinv(df_number_t x0, df_number_t x1, df_number_t x2) noexcept nogil
|
48 |
+
cpdef df_number_t betainccinv(df_number_t x0, df_number_t x1, df_number_t x2) noexcept nogil
|
49 |
+
cpdef double betaln(double x0, double x1) noexcept nogil
|
50 |
+
cpdef double binom(double x0, double x1) noexcept nogil
|
51 |
+
cpdef double boxcox(double x0, double x1) noexcept nogil
|
52 |
+
cpdef double boxcox1p(double x0, double x1) noexcept nogil
|
53 |
+
cpdef double btdtr(double x0, double x1, double x2) noexcept nogil
|
54 |
+
cpdef double btdtri(double x0, double x1, double x2) noexcept nogil
|
55 |
+
cpdef double btdtria(double x0, double x1, double x2) noexcept nogil
|
56 |
+
cpdef double btdtrib(double x0, double x1, double x2) noexcept nogil
|
57 |
+
cpdef double cbrt(double x0) noexcept nogil
|
58 |
+
cpdef double chdtr(double x0, double x1) noexcept nogil
|
59 |
+
cpdef double chdtrc(double x0, double x1) noexcept nogil
|
60 |
+
cpdef double chdtri(double x0, double x1) noexcept nogil
|
61 |
+
cpdef double chdtriv(double x0, double x1) noexcept nogil
|
62 |
+
cpdef double chndtr(double x0, double x1, double x2) noexcept nogil
|
63 |
+
cpdef double chndtridf(double x0, double x1, double x2) noexcept nogil
|
64 |
+
cpdef double chndtrinc(double x0, double x1, double x2) noexcept nogil
|
65 |
+
cpdef double chndtrix(double x0, double x1, double x2) noexcept nogil
|
66 |
+
cpdef double cosdg(double x0) noexcept nogil
|
67 |
+
cpdef double cosm1(double x0) noexcept nogil
|
68 |
+
cpdef double cotdg(double x0) noexcept nogil
|
69 |
+
cpdef Dd_number_t dawsn(Dd_number_t x0) noexcept nogil
|
70 |
+
cpdef double ellipe(double x0) noexcept nogil
|
71 |
+
cpdef double ellipeinc(double x0, double x1) noexcept nogil
|
72 |
+
cdef void ellipj(double x0, double x1, double *y0, double *y1, double *y2, double *y3) noexcept nogil
|
73 |
+
cpdef double ellipkinc(double x0, double x1) noexcept nogil
|
74 |
+
cpdef double ellipkm1(double x0) noexcept nogil
|
75 |
+
cpdef double ellipk(double x0) noexcept nogil
|
76 |
+
cpdef Dd_number_t elliprc(Dd_number_t x0, Dd_number_t x1) noexcept nogil
|
77 |
+
cpdef Dd_number_t elliprd(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2) noexcept nogil
|
78 |
+
cpdef Dd_number_t elliprf(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2) noexcept nogil
|
79 |
+
cpdef Dd_number_t elliprg(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2) noexcept nogil
|
80 |
+
cpdef Dd_number_t elliprj(Dd_number_t x0, Dd_number_t x1, Dd_number_t x2, Dd_number_t x3) noexcept nogil
|
81 |
+
cpdef double entr(double x0) noexcept nogil
|
82 |
+
cpdef Dd_number_t erf(Dd_number_t x0) noexcept nogil
|
83 |
+
cpdef Dd_number_t erfc(Dd_number_t x0) noexcept nogil
|
84 |
+
cpdef Dd_number_t erfcx(Dd_number_t x0) noexcept nogil
|
85 |
+
cpdef Dd_number_t erfi(Dd_number_t x0) noexcept nogil
|
86 |
+
cpdef df_number_t erfinv(df_number_t x0) noexcept nogil
|
87 |
+
cpdef double erfcinv(double x0) noexcept nogil
|
88 |
+
cpdef Dd_number_t eval_chebyc(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
89 |
+
cpdef Dd_number_t eval_chebys(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
90 |
+
cpdef Dd_number_t eval_chebyt(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
91 |
+
cpdef Dd_number_t eval_chebyu(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
92 |
+
cpdef Dd_number_t eval_gegenbauer(dl_number_t x0, double x1, Dd_number_t x2) noexcept nogil
|
93 |
+
cpdef Dd_number_t eval_genlaguerre(dl_number_t x0, double x1, Dd_number_t x2) noexcept nogil
|
94 |
+
cpdef double eval_hermite(long x0, double x1) noexcept nogil
|
95 |
+
cpdef double eval_hermitenorm(long x0, double x1) noexcept nogil
|
96 |
+
cpdef Dd_number_t eval_jacobi(dl_number_t x0, double x1, double x2, Dd_number_t x3) noexcept nogil
|
97 |
+
cpdef Dd_number_t eval_laguerre(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
98 |
+
cpdef Dd_number_t eval_legendre(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
99 |
+
cpdef Dd_number_t eval_sh_chebyt(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
100 |
+
cpdef Dd_number_t eval_sh_chebyu(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
101 |
+
cpdef Dd_number_t eval_sh_jacobi(dl_number_t x0, double x1, double x2, Dd_number_t x3) noexcept nogil
|
102 |
+
cpdef Dd_number_t eval_sh_legendre(dl_number_t x0, Dd_number_t x1) noexcept nogil
|
103 |
+
cpdef Dd_number_t exp1(Dd_number_t x0) noexcept nogil
|
104 |
+
cpdef double exp10(double x0) noexcept nogil
|
105 |
+
cpdef double exp2(double x0) noexcept nogil
|
106 |
+
cpdef Dd_number_t expi(Dd_number_t x0) noexcept nogil
|
107 |
+
cpdef dfg_number_t expit(dfg_number_t x0) noexcept nogil
|
108 |
+
cpdef Dd_number_t expm1(Dd_number_t x0) noexcept nogil
|
109 |
+
cpdef double expn(dl_number_t x0, double x1) noexcept nogil
|
110 |
+
cpdef double exprel(double x0) noexcept nogil
|
111 |
+
cpdef double fdtr(double x0, double x1, double x2) noexcept nogil
|
112 |
+
cpdef double fdtrc(double x0, double x1, double x2) noexcept nogil
|
113 |
+
cpdef double fdtri(double x0, double x1, double x2) noexcept nogil
|
114 |
+
cpdef double fdtridfd(double x0, double x1, double x2) noexcept nogil
|
115 |
+
cdef void fresnel(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1) noexcept nogil
|
116 |
+
cpdef Dd_number_t gamma(Dd_number_t x0) noexcept nogil
|
117 |
+
cpdef double gammainc(double x0, double x1) noexcept nogil
|
118 |
+
cpdef double gammaincc(double x0, double x1) noexcept nogil
|
119 |
+
cpdef double gammainccinv(double x0, double x1) noexcept nogil
|
120 |
+
cpdef double gammaincinv(double x0, double x1) noexcept nogil
|
121 |
+
cpdef double gammaln(double x0) noexcept nogil
|
122 |
+
cpdef double gammasgn(double x0) noexcept nogil
|
123 |
+
cpdef double gdtr(double x0, double x1, double x2) noexcept nogil
|
124 |
+
cpdef double gdtrc(double x0, double x1, double x2) noexcept nogil
|
125 |
+
cpdef double gdtria(double x0, double x1, double x2) noexcept nogil
|
126 |
+
cpdef double gdtrib(double x0, double x1, double x2) noexcept nogil
|
127 |
+
cpdef double gdtrix(double x0, double x1, double x2) noexcept nogil
|
128 |
+
cpdef double complex hankel1(double x0, double complex x1) noexcept nogil
|
129 |
+
cpdef double complex hankel1e(double x0, double complex x1) noexcept nogil
|
130 |
+
cpdef double complex hankel2(double x0, double complex x1) noexcept nogil
|
131 |
+
cpdef double complex hankel2e(double x0, double complex x1) noexcept nogil
|
132 |
+
cpdef double huber(double x0, double x1) noexcept nogil
|
133 |
+
cpdef Dd_number_t hyp0f1(double x0, Dd_number_t x1) noexcept nogil
|
134 |
+
cpdef Dd_number_t hyp1f1(double x0, double x1, Dd_number_t x2) noexcept nogil
|
135 |
+
cpdef Dd_number_t hyp2f1(double x0, double x1, double x2, Dd_number_t x3) noexcept nogil
|
136 |
+
cpdef double hyperu(double x0, double x1, double x2) noexcept nogil
|
137 |
+
cpdef double i0(double x0) noexcept nogil
|
138 |
+
cpdef double i0e(double x0) noexcept nogil
|
139 |
+
cpdef double i1(double x0) noexcept nogil
|
140 |
+
cpdef double i1e(double x0) noexcept nogil
|
141 |
+
cpdef double inv_boxcox(double x0, double x1) noexcept nogil
|
142 |
+
cpdef double inv_boxcox1p(double x0, double x1) noexcept nogil
|
143 |
+
cdef void it2i0k0(double x0, double *y0, double *y1) noexcept nogil
|
144 |
+
cdef void it2j0y0(double x0, double *y0, double *y1) noexcept nogil
|
145 |
+
cpdef double it2struve0(double x0) noexcept nogil
|
146 |
+
cdef void itairy(double x0, double *y0, double *y1, double *y2, double *y3) noexcept nogil
|
147 |
+
cdef void iti0k0(double x0, double *y0, double *y1) noexcept nogil
|
148 |
+
cdef void itj0y0(double x0, double *y0, double *y1) noexcept nogil
|
149 |
+
cpdef double itmodstruve0(double x0) noexcept nogil
|
150 |
+
cpdef double itstruve0(double x0) noexcept nogil
|
151 |
+
cpdef Dd_number_t iv(double x0, Dd_number_t x1) noexcept nogil
|
152 |
+
cpdef Dd_number_t ive(double x0, Dd_number_t x1) noexcept nogil
|
153 |
+
cpdef double j0(double x0) noexcept nogil
|
154 |
+
cpdef double j1(double x0) noexcept nogil
|
155 |
+
cpdef Dd_number_t jv(double x0, Dd_number_t x1) noexcept nogil
|
156 |
+
cpdef Dd_number_t jve(double x0, Dd_number_t x1) noexcept nogil
|
157 |
+
cpdef double k0(double x0) noexcept nogil
|
158 |
+
cpdef double k0e(double x0) noexcept nogil
|
159 |
+
cpdef double k1(double x0) noexcept nogil
|
160 |
+
cpdef double k1e(double x0) noexcept nogil
|
161 |
+
cpdef double kei(double x0) noexcept nogil
|
162 |
+
cpdef double keip(double x0) noexcept nogil
|
163 |
+
cdef void kelvin(double x0, double complex *y0, double complex *y1, double complex *y2, double complex *y3) noexcept nogil
|
164 |
+
cpdef double ker(double x0) noexcept nogil
|
165 |
+
cpdef double kerp(double x0) noexcept nogil
|
166 |
+
cpdef double kl_div(double x0, double x1) noexcept nogil
|
167 |
+
cpdef double kn(dl_number_t x0, double x1) noexcept nogil
|
168 |
+
cpdef double kolmogi(double x0) noexcept nogil
|
169 |
+
cpdef double kolmogorov(double x0) noexcept nogil
|
170 |
+
cpdef Dd_number_t kv(double x0, Dd_number_t x1) noexcept nogil
|
171 |
+
cpdef Dd_number_t kve(double x0, Dd_number_t x1) noexcept nogil
|
172 |
+
cpdef Dd_number_t log1p(Dd_number_t x0) noexcept nogil
|
173 |
+
cpdef dfg_number_t log_expit(dfg_number_t x0) noexcept nogil
|
174 |
+
cpdef Dd_number_t log_ndtr(Dd_number_t x0) noexcept nogil
|
175 |
+
cpdef Dd_number_t loggamma(Dd_number_t x0) noexcept nogil
|
176 |
+
cpdef dfg_number_t logit(dfg_number_t x0) noexcept nogil
|
177 |
+
cpdef double lpmv(double x0, double x1, double x2) noexcept nogil
|
178 |
+
cpdef double mathieu_a(double x0, double x1) noexcept nogil
|
179 |
+
cpdef double mathieu_b(double x0, double x1) noexcept nogil
|
180 |
+
cdef void mathieu_cem(double x0, double x1, double x2, double *y0, double *y1) noexcept nogil
|
181 |
+
cdef void mathieu_modcem1(double x0, double x1, double x2, double *y0, double *y1) noexcept nogil
|
182 |
+
cdef void mathieu_modcem2(double x0, double x1, double x2, double *y0, double *y1) noexcept nogil
|
183 |
+
cdef void mathieu_modsem1(double x0, double x1, double x2, double *y0, double *y1) noexcept nogil
|
184 |
+
cdef void mathieu_modsem2(double x0, double x1, double x2, double *y0, double *y1) noexcept nogil
|
185 |
+
cdef void mathieu_sem(double x0, double x1, double x2, double *y0, double *y1) noexcept nogil
|
186 |
+
cdef void modfresnelm(double x0, double complex *y0, double complex *y1) noexcept nogil
|
187 |
+
cdef void modfresnelp(double x0, double complex *y0, double complex *y1) noexcept nogil
|
188 |
+
cpdef double modstruve(double x0, double x1) noexcept nogil
|
189 |
+
cpdef double nbdtr(dl_number_t x0, dl_number_t x1, double x2) noexcept nogil
|
190 |
+
cpdef double nbdtrc(dl_number_t x0, dl_number_t x1, double x2) noexcept nogil
|
191 |
+
cpdef double nbdtri(dl_number_t x0, dl_number_t x1, double x2) noexcept nogil
|
192 |
+
cpdef double nbdtrik(double x0, double x1, double x2) noexcept nogil
|
193 |
+
cpdef double nbdtrin(double x0, double x1, double x2) noexcept nogil
|
194 |
+
cpdef double ncfdtr(double x0, double x1, double x2, double x3) noexcept nogil
|
195 |
+
cpdef double ncfdtri(double x0, double x1, double x2, double x3) noexcept nogil
|
196 |
+
cpdef double ncfdtridfd(double x0, double x1, double x2, double x3) noexcept nogil
|
197 |
+
cpdef double ncfdtridfn(double x0, double x1, double x2, double x3) noexcept nogil
|
198 |
+
cpdef double ncfdtrinc(double x0, double x1, double x2, double x3) noexcept nogil
|
199 |
+
cpdef double nctdtr(double x0, double x1, double x2) noexcept nogil
|
200 |
+
cpdef double nctdtridf(double x0, double x1, double x2) noexcept nogil
|
201 |
+
cpdef double nctdtrinc(double x0, double x1, double x2) noexcept nogil
|
202 |
+
cpdef double nctdtrit(double x0, double x1, double x2) noexcept nogil
|
203 |
+
cpdef Dd_number_t ndtr(Dd_number_t x0) noexcept nogil
|
204 |
+
cpdef double ndtri(double x0) noexcept nogil
|
205 |
+
cpdef double nrdtrimn(double x0, double x1, double x2) noexcept nogil
|
206 |
+
cpdef double nrdtrisd(double x0, double x1, double x2) noexcept nogil
|
207 |
+
cdef void obl_ang1(double x0, double x1, double x2, double x3, double *y0, double *y1) noexcept nogil
|
208 |
+
cdef void obl_ang1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) noexcept nogil
|
209 |
+
cpdef double obl_cv(double x0, double x1, double x2) noexcept nogil
|
210 |
+
cdef void obl_rad1(double x0, double x1, double x2, double x3, double *y0, double *y1) noexcept nogil
|
211 |
+
cdef void obl_rad1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) noexcept nogil
|
212 |
+
cdef void obl_rad2(double x0, double x1, double x2, double x3, double *y0, double *y1) noexcept nogil
|
213 |
+
cdef void obl_rad2_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) noexcept nogil
|
214 |
+
cpdef double owens_t(double x0, double x1) noexcept nogil
|
215 |
+
cdef void pbdv(double x0, double x1, double *y0, double *y1) noexcept nogil
|
216 |
+
cdef void pbvv(double x0, double x1, double *y0, double *y1) noexcept nogil
|
217 |
+
cdef void pbwa(double x0, double x1, double *y0, double *y1) noexcept nogil
|
218 |
+
cpdef double pdtr(double x0, double x1) noexcept nogil
|
219 |
+
cpdef double pdtrc(double x0, double x1) noexcept nogil
|
220 |
+
cpdef double pdtri(dl_number_t x0, double x1) noexcept nogil
|
221 |
+
cpdef double pdtrik(double x0, double x1) noexcept nogil
|
222 |
+
cpdef double poch(double x0, double x1) noexcept nogil
|
223 |
+
cpdef df_number_t powm1(df_number_t x0, df_number_t x1) noexcept nogil
|
224 |
+
cdef void pro_ang1(double x0, double x1, double x2, double x3, double *y0, double *y1) noexcept nogil
|
225 |
+
cdef void pro_ang1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) noexcept nogil
|
226 |
+
cpdef double pro_cv(double x0, double x1, double x2) noexcept nogil
|
227 |
+
cdef void pro_rad1(double x0, double x1, double x2, double x3, double *y0, double *y1) noexcept nogil
|
228 |
+
cdef void pro_rad1_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) noexcept nogil
|
229 |
+
cdef void pro_rad2(double x0, double x1, double x2, double x3, double *y0, double *y1) noexcept nogil
|
230 |
+
cdef void pro_rad2_cv(double x0, double x1, double x2, double x3, double x4, double *y0, double *y1) noexcept nogil
|
231 |
+
cpdef double pseudo_huber(double x0, double x1) noexcept nogil
|
232 |
+
cpdef Dd_number_t psi(Dd_number_t x0) noexcept nogil
|
233 |
+
cpdef double radian(double x0, double x1, double x2) noexcept nogil
|
234 |
+
cpdef double rel_entr(double x0, double x1) noexcept nogil
|
235 |
+
cpdef Dd_number_t rgamma(Dd_number_t x0) noexcept nogil
|
236 |
+
cpdef double round(double x0) noexcept nogil
|
237 |
+
cdef void shichi(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1) noexcept nogil
|
238 |
+
cdef void sici(Dd_number_t x0, Dd_number_t *y0, Dd_number_t *y1) noexcept nogil
|
239 |
+
cpdef double sindg(double x0) noexcept nogil
|
240 |
+
cpdef double smirnov(dl_number_t x0, double x1) noexcept nogil
|
241 |
+
cpdef double smirnovi(dl_number_t x0, double x1) noexcept nogil
|
242 |
+
cpdef Dd_number_t spence(Dd_number_t x0) noexcept nogil
|
243 |
+
cpdef double complex sph_harm(dl_number_t x0, dl_number_t x1, double x2, double x3) noexcept nogil
|
244 |
+
cpdef double stdtr(double x0, double x1) noexcept nogil
|
245 |
+
cpdef double stdtridf(double x0, double x1) noexcept nogil
|
246 |
+
cpdef double stdtrit(double x0, double x1) noexcept nogil
|
247 |
+
cpdef double struve(double x0, double x1) noexcept nogil
|
248 |
+
cpdef double tandg(double x0) noexcept nogil
|
249 |
+
cpdef double tklmbda(double x0, double x1) noexcept nogil
|
250 |
+
cpdef double complex wofz(double complex x0) noexcept nogil
|
251 |
+
cpdef Dd_number_t wrightomega(Dd_number_t x0) noexcept nogil
|
252 |
+
cpdef Dd_number_t xlog1py(Dd_number_t x0, Dd_number_t x1) noexcept nogil
|
253 |
+
cpdef Dd_number_t xlogy(Dd_number_t x0, Dd_number_t x1) noexcept nogil
|
254 |
+
cpdef double y0(double x0) noexcept nogil
|
255 |
+
cpdef double y1(double x0) noexcept nogil
|
256 |
+
cpdef double yn(dl_number_t x0, double x1) noexcept nogil
|
257 |
+
cpdef Dd_number_t yv(double x0, Dd_number_t x1) noexcept nogil
|
258 |
+
cpdef Dd_number_t yve(double x0, Dd_number_t x1) noexcept nogil
|
259 |
+
cpdef double zetac(double x0) noexcept nogil
|
260 |
+
cpdef double wright_bessel(double x0, double x1, double x2) noexcept nogil
|
261 |
+
cpdef double ndtri_exp(double x0) noexcept nogil
|
env-llmeval/lib/python3.10/site-packages/scipy/special/orthogonal.py
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file is not meant for public use and will be removed in SciPy v2.0.0.
|
2 |
+
# Use the `scipy.special` namespace for importing the functions
|
3 |
+
# included below.
|
4 |
+
|
5 |
+
from scipy._lib.deprecation import _sub_module_deprecation
|
6 |
+
|
7 |
+
|
8 |
+
_polyfuns = ['legendre', 'chebyt', 'chebyu', 'chebyc', 'chebys',
|
9 |
+
'jacobi', 'laguerre', 'genlaguerre', 'hermite',
|
10 |
+
'hermitenorm', 'gegenbauer', 'sh_legendre', 'sh_chebyt',
|
11 |
+
'sh_chebyu', 'sh_jacobi']
|
12 |
+
|
13 |
+
# Correspondence between new and old names of root functions
|
14 |
+
_rootfuns_map = {'roots_legendre': 'p_roots',
|
15 |
+
'roots_chebyt': 't_roots',
|
16 |
+
'roots_chebyu': 'u_roots',
|
17 |
+
'roots_chebyc': 'c_roots',
|
18 |
+
'roots_chebys': 's_roots',
|
19 |
+
'roots_jacobi': 'j_roots',
|
20 |
+
'roots_laguerre': 'l_roots',
|
21 |
+
'roots_genlaguerre': 'la_roots',
|
22 |
+
'roots_hermite': 'h_roots',
|
23 |
+
'roots_hermitenorm': 'he_roots',
|
24 |
+
'roots_gegenbauer': 'cg_roots',
|
25 |
+
'roots_sh_legendre': 'ps_roots',
|
26 |
+
'roots_sh_chebyt': 'ts_roots',
|
27 |
+
'roots_sh_chebyu': 'us_roots',
|
28 |
+
'roots_sh_jacobi': 'js_roots'}
|
29 |
+
|
30 |
+
|
31 |
+
__all__ = _polyfuns + list(_rootfuns_map.keys()) + [ # noqa: F822
|
32 |
+
'exp', 'inf', 'floor', 'around', 'hstack', 'arange',
|
33 |
+
'linalg', 'airy', 'orthopoly1d', 'newfun',
|
34 |
+
'oldfun', 'p_roots', 't_roots', 'u_roots', 'c_roots', 's_roots',
|
35 |
+
'j_roots', 'l_roots', 'la_roots', 'h_roots', 'he_roots', 'cg_roots',
|
36 |
+
'ps_roots', 'ts_roots', 'us_roots', 'js_roots'
|
37 |
+
]
|
38 |
+
|
39 |
+
|
40 |
+
def __dir__():
|
41 |
+
return __all__
|
42 |
+
|
43 |
+
|
44 |
+
def __getattr__(name):
|
45 |
+
return _sub_module_deprecation(sub_package="special", module="orthogonal",
|
46 |
+
private_modules=["_orthogonal"], all=__all__,
|
47 |
+
attribute=name)
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (18.6 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_axis_nan_policy.cpython-310.pyc
ADDED
Binary file (19.5 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_binned_statistic.cpython-310.pyc
ADDED
Binary file (28.2 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_binomtest.cpython-310.pyc
ADDED
Binary file (11.4 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_bws_test.cpython-310.pyc
ADDED
Binary file (6.71 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_censored_data.cpython-310.pyc
ADDED
Binary file (17.2 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_common.cpython-310.pyc
ADDED
Binary file (323 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_constants.cpython-310.pyc
ADDED
Binary file (528 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_continuous_distns.cpython-310.pyc
ADDED
Binary file (365 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_covariance.cpython-310.pyc
ADDED
Binary file (23.2 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_crosstab.cpython-310.pyc
ADDED
Binary file (7.35 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_discrete_distns.cpython-310.pyc
ADDED
Binary file (63.4 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_distn_infrastructure.cpython-310.pyc
ADDED
Binary file (123 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_distr_params.cpython-310.pyc
ADDED
Binary file (6.62 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_entropy.cpython-310.pyc
ADDED
Binary file (15 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_fit.cpython-310.pyc
ADDED
Binary file (52.3 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_generate_pyx.cpython-310.pyc
ADDED
Binary file (946 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_hypotests.cpython-310.pyc
ADDED
Binary file (69.1 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_kde.cpython-310.pyc
ADDED
Binary file (21.8 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_ksstats.cpython-310.pyc
ADDED
Binary file (11.9 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_mannwhitneyu.cpython-310.pyc
ADDED
Binary file (17.6 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_morestats.cpython-310.pyc
ADDED
Binary file (170 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_mstats_basic.cpython-310.pyc
ADDED
Binary file (108 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_mstats_extras.cpython-310.pyc
ADDED
Binary file (15.4 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_multicomp.cpython-310.pyc
ADDED
Binary file (15.7 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_multivariate.cpython-310.pyc
ADDED
Binary file (212 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_odds_ratio.cpython-310.pyc
ADDED
Binary file (15.8 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_page_trend_test.cpython-310.pyc
ADDED
Binary file (17.7 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_qmc.cpython-310.pyc
ADDED
Binary file (88.9 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_qmvnt.cpython-310.pyc
ADDED
Binary file (13.5 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_relative_risk.cpython-310.pyc
ADDED
Binary file (8.33 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_resampling.cpython-310.pyc
ADDED
Binary file (71.1 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_result_classes.cpython-310.pyc
ADDED
Binary file (1.03 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_rvs_sampling.cpython-310.pyc
ADDED
Binary file (2.38 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_sampling.cpython-310.pyc
ADDED
Binary file (43 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_sensitivity_analysis.cpython-310.pyc
ADDED
Binary file (23.7 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_stats_mstats_common.cpython-310.pyc
ADDED
Binary file (16.3 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_stats_py.cpython-310.pyc
ADDED
Binary file (373 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_survival.cpython-310.pyc
ADDED
Binary file (22.9 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_tukeylambda_stats.cpython-310.pyc
ADDED
Binary file (3.1 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_variation.cpython-310.pyc
ADDED
Binary file (4.43 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_warnings_errors.cpython-310.pyc
ADDED
Binary file (1.73 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/scipy/stats/__pycache__/_wilcoxon.cpython-310.pyc
ADDED
Binary file (6.95 kB). View file
|
|