Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/scipy/special/basic.py: 73%
11 statements
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-12 06:31 +0000
« prev ^ index » next coverage.py v7.3.2, created at 2023-12-12 06:31 +0000
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.
5import warnings
6from . import _basic
7from ._ufuncs import (mathieu_a, mathieu_b, iv, jv, gamma,
8 psi, hankel1, hankel2, yv, kv)
11__all__ = [ # noqa: F822
12 'ai_zeros',
13 'assoc_laguerre',
14 'bei_zeros',
15 'beip_zeros',
16 'ber_zeros',
17 'bernoulli',
18 'berp_zeros',
19 'bi_zeros',
20 'clpmn',
21 'comb',
22 'digamma',
23 'diric',
24 'erf_zeros',
25 'euler',
26 'factorial',
27 'factorial2',
28 'factorialk',
29 'fresnel_zeros',
30 'fresnelc_zeros',
31 'fresnels_zeros',
32 'gamma',
33 'h1vp',
34 'h2vp',
35 'hankel1',
36 'hankel2',
37 'iv',
38 'ivp',
39 'jn_zeros',
40 'jnjnp_zeros',
41 'jnp_zeros',
42 'jnyn_zeros',
43 'jv',
44 'jvp',
45 'kei_zeros',
46 'keip_zeros',
47 'kelvin_zeros',
48 'ker_zeros',
49 'kerp_zeros',
50 'kv',
51 'kvp',
52 'lmbda',
53 'lpmn',
54 'lpn',
55 'lqmn',
56 'lqn',
57 'mathieu_a',
58 'mathieu_b',
59 'mathieu_even_coef',
60 'mathieu_odd_coef',
61 'obl_cv_seq',
62 'pbdn_seq',
63 'pbdv_seq',
64 'pbvv_seq',
65 'perm',
66 'polygamma',
67 'pro_cv_seq',
68 'psi',
69 'riccati_jn',
70 'riccati_yn',
71 'sinc',
72 'y0_zeros',
73 'y1_zeros',
74 'y1p_zeros',
75 'yn_zeros',
76 'ynp_zeros',
77 'yv',
78 'yvp',
79 'zeta'
80]
83def __dir__():
84 return __all__
87def __getattr__(name):
88 if name not in __all__:
89 raise AttributeError(
90 "scipy.special.basic is deprecated and has no attribute "
91 f"{name}. Try looking in scipy.special instead.")
93 warnings.warn(f"Please use `{name}` from the `scipy.special` namespace, "
94 "the `scipy.special.basic` namespace is deprecated.",
95 category=DeprecationWarning, stacklevel=2)
97 return getattr(_basic, name)