cephes.h
Go to the documentation of this file.
1 #ifndef CEPHES_H
2 #define CEPHES_H
3 
4 #include "dllexport.h"
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 CEPHES_EXTERN_EXPORT int airy(double x, double *ai, double *aip, double *bi,
11  double *bip);
12 
13 CEPHES_EXTERN_EXPORT double bdtrc(double k, int n, double p);
14 CEPHES_EXTERN_EXPORT double bdtr(double k, int n, double p);
15 CEPHES_EXTERN_EXPORT double bdtri(double k, int n, double y);
16 
17 CEPHES_EXTERN_EXPORT double besselpoly(double a, double lambda, double nu);
18 
19 CEPHES_EXTERN_EXPORT double beta(double a, double b);
20 CEPHES_EXTERN_EXPORT double lbeta(double a, double b);
21 
22 CEPHES_EXTERN_EXPORT double btdtr(double a, double b, double x);
23 
24 CEPHES_EXTERN_EXPORT double cbrt(double x);
25 CEPHES_EXTERN_EXPORT double chbevl(double x, double array[], int n);
26 CEPHES_EXTERN_EXPORT double chdtrc(double df, double x);
27 CEPHES_EXTERN_EXPORT double chdtr(double df, double x);
28 CEPHES_EXTERN_EXPORT double chdtri(double df, double y);
29 CEPHES_EXTERN_EXPORT double dawsn(double xx);
30 
31 CEPHES_EXTERN_EXPORT double ellie(double phi, double m);
32 CEPHES_EXTERN_EXPORT double ellik(double phi, double m);
33 CEPHES_EXTERN_EXPORT double ellpe(double x);
34 
35 CEPHES_EXTERN_EXPORT int ellpj(double u, double m, double *sn, double *cn,
36  double *dn, double *ph);
37 CEPHES_EXTERN_EXPORT double ellpk(double x);
38 CEPHES_EXTERN_EXPORT double exp10(double x);
39 CEPHES_EXTERN_EXPORT double exp2(double x);
40 
41 CEPHES_EXTERN_EXPORT double expn(int n, double x);
42 
43 CEPHES_EXTERN_EXPORT double fdtrc(double a, double b, double x);
44 CEPHES_EXTERN_EXPORT double fdtr(double a, double b, double x);
45 CEPHES_EXTERN_EXPORT double fdtri(double a, double b, double y);
46 
47 CEPHES_EXTERN_EXPORT int fresnl(double xxa, double *ssa, double *cca);
48 CEPHES_EXTERN_EXPORT double Gamma(double x);
49 CEPHES_EXTERN_EXPORT double lgam(double x);
50 CEPHES_EXTERN_EXPORT double lgam_sgn(double x, int *sign);
51 CEPHES_EXTERN_EXPORT double gammasgn(double x);
52 
53 CEPHES_EXTERN_EXPORT double gdtr(double a, double b, double x);
54 CEPHES_EXTERN_EXPORT double gdtrc(double a, double b, double x);
55 CEPHES_EXTERN_EXPORT double gdtri(double a, double b, double y);
56 
57 CEPHES_EXTERN_EXPORT double hyp2f1(double a, double b, double c, double x);
58 CEPHES_EXTERN_EXPORT double hyperg(double a, double b, double x);
59 CEPHES_EXTERN_EXPORT double threef0(double a, double b, double c, double x,
60  double *err);
61 
62 CEPHES_EXTERN_EXPORT double i0(double x);
63 CEPHES_EXTERN_EXPORT double i0e(double x);
64 CEPHES_EXTERN_EXPORT double i1(double x);
65 CEPHES_EXTERN_EXPORT double i1e(double x);
66 CEPHES_EXTERN_EXPORT double igamc(double a, double x);
67 CEPHES_EXTERN_EXPORT double igam(double a, double x);
68 CEPHES_EXTERN_EXPORT double igam_fac(double a, double x);
69 CEPHES_EXTERN_EXPORT double igamci(double a, double q);
70 CEPHES_EXTERN_EXPORT double igami(double a, double p);
71 
72 CEPHES_EXTERN_EXPORT double incbet(double aa, double bb, double xx);
73 CEPHES_EXTERN_EXPORT double incbi(double aa, double bb, double yy0);
74 
75 CEPHES_EXTERN_EXPORT double iv(double v, double x);
76 CEPHES_EXTERN_EXPORT double j0(double x);
77 CEPHES_EXTERN_EXPORT double y0(double x);
78 CEPHES_EXTERN_EXPORT double j1(double x);
79 CEPHES_EXTERN_EXPORT double y1(double x);
80 
81 CEPHES_EXTERN_EXPORT double jn(int n, double x);
82 CEPHES_EXTERN_EXPORT double jv(double n, double x);
83 CEPHES_EXTERN_EXPORT double k0(double x);
84 CEPHES_EXTERN_EXPORT double k0e(double x);
85 CEPHES_EXTERN_EXPORT double k1(double x);
86 CEPHES_EXTERN_EXPORT double k1e(double x);
87 CEPHES_EXTERN_EXPORT double kn(int nn, double x);
88 
89 CEPHES_EXTERN_EXPORT double nbdtrc(int k, int n, double p);
90 CEPHES_EXTERN_EXPORT double nbdtr(int k, int n, double p);
91 CEPHES_EXTERN_EXPORT double nbdtri(int k, int n, double p);
92 
93 CEPHES_EXTERN_EXPORT double ndtr(double a);
94 CEPHES_EXTERN_EXPORT double log_ndtr(double a);
95 CEPHES_EXTERN_EXPORT double erfc(double a);
96 CEPHES_EXTERN_EXPORT double erf(double x);
97 CEPHES_EXTERN_EXPORT double erfinv(double y);
98 CEPHES_EXTERN_EXPORT double erfcinv(double y);
99 CEPHES_EXTERN_EXPORT double ndtri(double y0);
100 
101 CEPHES_EXTERN_EXPORT double pdtrc(double k, double m);
102 CEPHES_EXTERN_EXPORT double pdtr(double k, double m);
103 CEPHES_EXTERN_EXPORT double pdtri(int k, double y);
104 
105 CEPHES_EXTERN_EXPORT double poch(double x, double m);
106 
107 CEPHES_EXTERN_EXPORT double psi(double x);
108 
109 CEPHES_EXTERN_EXPORT double rgamma(double x);
110 CEPHES_EXTERN_EXPORT double round(double x);
111 
112 CEPHES_EXTERN_EXPORT int shichi(double x, double *si, double *ci);
113 CEPHES_EXTERN_EXPORT int sici(double x, double *si, double *ci);
114 
115 CEPHES_EXTERN_EXPORT double radian(double d, double m, double s);
116 CEPHES_EXTERN_EXPORT double sindg(double x);
117 CEPHES_EXTERN_EXPORT double sinpi(double x);
118 CEPHES_EXTERN_EXPORT double cosdg(double x);
119 CEPHES_EXTERN_EXPORT double cospi(double x);
120 
121 CEPHES_EXTERN_EXPORT double spence(double x);
122 
123 CEPHES_EXTERN_EXPORT double stdtr(int k, double t);
124 CEPHES_EXTERN_EXPORT double stdtri(int k, double p);
125 
126 CEPHES_EXTERN_EXPORT double struve_h(double v, double x);
127 CEPHES_EXTERN_EXPORT double struve_l(double v, double x);
128 CEPHES_EXTERN_EXPORT double struve_power_series(double v, double x, int is_h,
129  double *err);
130 CEPHES_EXTERN_EXPORT double struve_asymp_large_z(double v, double z, int is_h,
131  double *err);
132 CEPHES_EXTERN_EXPORT double struve_bessel_series(double v, double z, int is_h,
133  double *err);
134 
135 CEPHES_EXTERN_EXPORT double yv(double v, double x);
136 
137 CEPHES_EXTERN_EXPORT double tandg(double x);
138 CEPHES_EXTERN_EXPORT double cotdg(double x);
139 
140 CEPHES_EXTERN_EXPORT double log1p(double x);
141 CEPHES_EXTERN_EXPORT double log1pmx(double x);
142 CEPHES_EXTERN_EXPORT double expm1(double x);
143 CEPHES_EXTERN_EXPORT double cosm1(double x);
144 CEPHES_EXTERN_EXPORT double lgam1p(double x);
145 
146 CEPHES_EXTERN_EXPORT double yn(int n, double x);
147 CEPHES_EXTERN_EXPORT double zeta(double x, double q);
148 CEPHES_EXTERN_EXPORT double zetac(double x);
149 
150 CEPHES_EXTERN_EXPORT double smirnov(int n, double d);
151 CEPHES_EXTERN_EXPORT double smirnovi(int n, double p);
152 CEPHES_EXTERN_EXPORT double smirnovp(int n, double d);
153 CEPHES_EXTERN_EXPORT double smirnovc(int n, double d);
154 CEPHES_EXTERN_EXPORT double smirnovci(int n, double p);
155 CEPHES_EXTERN_EXPORT double kolmogorov(double x);
156 CEPHES_EXTERN_EXPORT double kolmogi(double p);
157 CEPHES_EXTERN_EXPORT double kolmogp(double x);
158 CEPHES_EXTERN_EXPORT double kolmogc(double x);
159 CEPHES_EXTERN_EXPORT double kolmogci(double p);
160 
162 
163 CEPHES_EXTERN_EXPORT double owens_t(double h, double a);
164 
165 #ifdef __cplusplus
166 }
167 #endif
168 
169 #endif /* CEPHES_H */
ellik
CEPHES_EXTERN_EXPORT double ellik(double phi, double m)
Definition: ellik.c:63
dllexport.h
igam
CEPHES_EXTERN_EXPORT double igam(double a, double x)
Definition: igam.c:128
cospi
CEPHES_EXTERN_EXPORT double cospi(double x)
Definition: sinpi.c:35
iv
CEPHES_EXTERN_EXPORT double iv(double v, double x)
Definition: scipy_iv.c:80
erfc
CEPHES_EXTERN_EXPORT double erfc(double a)
Definition: ndtr.c:227
chdtrc
CEPHES_EXTERN_EXPORT double chdtrc(double df, double x)
Definition: chdtr.c:153
expm1
CEPHES_EXTERN_EXPORT double expm1(double x)
Definition: unity.c:106
stdtri
CEPHES_EXTERN_EXPORT double stdtri(int k, double p)
Definition: stdtr.c:170
ellpj
CEPHES_EXTERN_EXPORT int ellpj(double u, double m, double *sn, double *cn, double *dn, double *ph)
Definition: ellpj.c:71
s
RealScalar s
Definition: level1_cplx_impl.h:126
cosdg
CEPHES_EXTERN_EXPORT double cosdg(double x)
Definition: sindg.c:156
d
static const double d[K][N]
Definition: igam.h:11
shichi
CEPHES_EXTERN_EXPORT int shichi(double x, double *si, double *ci)
Definition: shichi.c:174
igamci
CEPHES_EXTERN_EXPORT double igamci(double a, double q)
Definition: igami.c:301
log1pmx
CEPHES_EXTERN_EXPORT double log1pmx(double x)
Definition: unity.c:63
radian
CEPHES_EXTERN_EXPORT double radian(double d, double m, double s)
Definition: sindg.c:216
igamc
CEPHES_EXTERN_EXPORT double igamc(double a, double x)
Definition: igam.c:169
cosm1
CEPHES_EXTERN_EXPORT double cosm1(double x)
Definition: unity.c:144
dawsn
CEPHES_EXTERN_EXPORT double dawsn(double xx)
Definition: dawsn.c:127
stdtr
CEPHES_EXTERN_EXPORT double stdtr(int k, double t)
Definition: stdtr.c:92
smirnovci
CEPHES_EXTERN_EXPORT double smirnovci(int n, double p)
Definition: kolmogorov.c:1141
c
Scalar Scalar * c
Definition: benchVecAdd.cpp:17
b
Scalar * b
Definition: benchVecAdd.cpp:17
smirnovc
CEPHES_EXTERN_EXPORT double smirnovc(int n, double d)
Definition: kolmogorov.c:1090
x
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Definition: gnuplot_common_settings.hh:12
CEPHES_EXTERN_EXPORT
#define CEPHES_EXTERN_EXPORT
Definition: dllexport.h:23
sign
const EIGEN_DEVICE_FUNC SignReturnType sign() const
Definition: ArrayCwiseUnaryOps.h:219
struve_power_series
CEPHES_EXTERN_EXPORT double struve_power_series(double v, double x, int is_h, double *err)
Definition: struve.c:207
zetac
CEPHES_EXTERN_EXPORT double zetac(double x)
Definition: zetac.c:188
bdtri
CEPHES_EXTERN_EXPORT double bdtri(double k, int n, double y)
Definition: bdtr.c:209
rgamma
CEPHES_EXTERN_EXPORT double rgamma(double x)
Definition: rgamma.c:77
exp2
CEPHES_EXTERN_EXPORT double exp2(double x)
Definition: exp2.c:75
log1p
CEPHES_EXTERN_EXPORT double log1p(double x)
Definition: unity.c:49
struve_asymp_large_z
CEPHES_EXTERN_EXPORT double struve_asymp_large_z(double v, double z, int is_h, double *err)
Definition: struve.c:331
chbevl
CEPHES_EXTERN_EXPORT double chbevl(double x, double array[], int n)
Definition: chbevl.c:63
h
const double h
Definition: testSimpleHelicopter.cpp:19
threef0
CEPHES_EXTERN_EXPORT double threef0(double a, double b, double c, double x, double *err)
i0
CEPHES_EXTERN_EXPORT double i0(double x)
Definition: i0.c:149
kolmogi
CEPHES_EXTERN_EXPORT double kolmogi(double p)
Definition: kolmogorov.c:417
k1
CEPHES_EXTERN_EXPORT double k1(double x)
Definition: k1.c:133
k0
CEPHES_EXTERN_EXPORT double k0(double x)
Definition: k0.c:131
fdtri
CEPHES_EXTERN_EXPORT double fdtri(double a, double b, double y)
Definition: fdtr.c:194
exp10
CEPHES_EXTERN_EXPORT double exp10(double x)
Definition: exp10.c:77
ellpk
CEPHES_EXTERN_EXPORT double ellpk(double x)
Definition: ellpk.c:97
cbrt
CEPHES_EXTERN_EXPORT double cbrt(double x)
Definition: cbrt.c:51
fdtr
CEPHES_EXTERN_EXPORT double fdtr(double a, double b, double x)
Definition: fdtr.c:180
jn
CEPHES_EXTERN_EXPORT double jn(int n, double x)
pdtri
CEPHES_EXTERN_EXPORT double pdtri(int k, double y)
Definition: pdtr.c:162
n
int n
Definition: BiCGSTAB_simple.cpp:1
struve_l
CEPHES_EXTERN_EXPORT double struve_l(double v, double x)
Definition: struve.c:107
kolmogci
CEPHES_EXTERN_EXPORT double kolmogci(double p)
Definition: kolmogorov.c:429
incbi
CEPHES_EXTERN_EXPORT double incbi(double aa, double bb, double yy0)
Definition: incbi.c:51
besselpoly
CEPHES_EXTERN_EXPORT double besselpoly(double a, double lambda, double nu)
Definition: besselpoly.c:5
fdtrc
CEPHES_EXTERN_EXPORT double fdtrc(double a, double b, double x)
Definition: fdtr.c:167
ndtri
CEPHES_EXTERN_EXPORT double ndtri(double y0)
Definition: ndtri.c:134
kn
CEPHES_EXTERN_EXPORT double kn(int nn, double x)
Definition: kn.c:86
i1
CEPHES_EXTERN_EXPORT double i1(double x)
Definition: i1.c:150
nbdtri
CEPHES_EXTERN_EXPORT double nbdtri(int k, int n, double p)
Definition: nbdtr.c:192
expn
CEPHES_EXTERN_EXPORT double expn(int n, double x)
Definition: expn.c:70
k0e
CEPHES_EXTERN_EXPORT double k0e(double x)
Definition: k0.c:157
struve_h
CEPHES_EXTERN_EXPORT double struve_h(double v, double x)
Definition: struve.c:102
fresnl
CEPHES_EXTERN_EXPORT int fresnl(double xxa, double *ssa, double *cca)
Definition: fresnl.c:162
kolmogc
CEPHES_EXTERN_EXPORT double kolmogc(double x)
Definition: kolmogorov.c:393
chdtri
CEPHES_EXTERN_EXPORT double chdtri(double df, double y)
Definition: chdtr.c:175
chdtr
CEPHES_EXTERN_EXPORT double chdtr(double df, double x)
Definition: chdtr.c:163
Eigen::numext::q
EIGEN_DEVICE_FUNC const Scalar & q
Definition: SpecialFunctionsImpl.h:1984
igam_fac
CEPHES_EXTERN_EXPORT double igam_fac(double a, double x)
Definition: igam.c:231
erfcinv
CEPHES_EXTERN_EXPORT double erfcinv(double y)
Definition: erfinv.c:57
yn
CEPHES_EXTERN_EXPORT double yn(int n, double x)
Definition: yn.c:57
cn
static double cn[6]
Definition: fresnl.c:83
cotdg
CEPHES_EXTERN_EXPORT double cotdg(double x)
Definition: tandg.c:86
log_ndtr
CEPHES_EXTERN_EXPORT double log_ndtr(double a)
i0e
CEPHES_EXTERN_EXPORT double i0e(double x)
Definition: i0.c:167
owens_t
CEPHES_EXTERN_EXPORT double owens_t(double h, double a)
Definition: owens_t.c:315
airy
CEPHES_EXTERN_EXPORT int airy(double x, double *ai, double *aip, double *bi, double *bip)
Definition: airy.c:256
tandg
CEPHES_EXTERN_EXPORT double tandg(double x)
Definition: tandg.c:80
lbeta
CEPHES_EXTERN_EXPORT double lbeta(double a, double b)
Definition: beta.c:138
jv
CEPHES_EXTERN_EXPORT double jv(double n, double x)
Definition: jv.c:69
smirnov
CEPHES_EXTERN_EXPORT double smirnov(int n, double d)
Definition: kolmogorov.c:1079
erf
CEPHES_EXTERN_EXPORT double erf(double x)
Definition: ndtr.c:285
pybind_wrapper_test_script.z
z
Definition: pybind_wrapper_test_script.py:61
struve_bessel_series
CEPHES_EXTERN_EXPORT double struve_bessel_series(double v, double z, int is_h, double *err)
Definition: struve.c:284
m
Matrix3f m
Definition: AngleAxis_mimic_euler.cpp:1
zeta
CEPHES_EXTERN_EXPORT double zeta(double x, double q)
Definition: zeta.c:89
lgam1p
CEPHES_EXTERN_EXPORT double lgam1p(double x)
Definition: unity.c:181
bdtrc
CEPHES_EXTERN_EXPORT double bdtrc(double k, int n, double p)
Definition: bdtr.c:150
yv
CEPHES_EXTERN_EXPORT double yv(double v, double x)
Definition: yv.c:14
kolmogorov
CEPHES_EXTERN_EXPORT double kolmogorov(double x)
Definition: kolmogorov.c:384
lambda
static double lambda[]
Definition: jv.c:524
y
Scalar * y
Definition: level1_cplx_impl.h:124
sindg
CEPHES_EXTERN_EXPORT double sindg(double x)
Definition: sindg.c:101
gdtri
CEPHES_EXTERN_EXPORT double gdtri(double a, double b, double y)
Definition: gdtr.c:123
erfinv
CEPHES_EXTERN_EXPORT double erfinv(double y)
Definition: erfinv.c:16
nbdtr
CEPHES_EXTERN_EXPORT double nbdtr(int k, int n, double p)
Definition: nbdtr.c:174
gdtr
CEPHES_EXTERN_EXPORT double gdtr(double a, double b, double x)
Definition: gdtr.c:101
y1
CEPHES_EXTERN_EXPORT double y1(double x)
Definition: j1.c:199
ndtr
CEPHES_EXTERN_EXPORT double ndtr(double a)
Definition: ndtr.c:201
sn
static double sn[6]
Definition: fresnl.c:63
lgam
CEPHES_EXTERN_EXPORT double lgam(double x)
Definition: gamma.c:275
a
ArrayXXi a
Definition: Array_initializer_list_23_cxx11.cpp:1
array
Definition: numpy.h:821
smirnovp
CEPHES_EXTERN_EXPORT double smirnovp(int n, double d)
Definition: kolmogorov.c:1106
btdtr
CEPHES_EXTERN_EXPORT double btdtr(double a, double b, double x)
Definition: btdtr.c:55
ellie
CEPHES_EXTERN_EXPORT double ellie(double phi, double m)
Definition: ellie.c:60
y0
CEPHES_EXTERN_EXPORT double y0(double x)
Definition: j0.c:220
beta
CEPHES_EXTERN_EXPORT double beta(double a, double b)
Definition: beta.c:61
sinpi
CEPHES_EXTERN_EXPORT double sinpi(double x)
Definition: sinpi.c:11
j1
CEPHES_EXTERN_EXPORT double j1(double x)
Definition: j1.c:174
p
float * p
Definition: Tutorial_Map_using.cpp:9
psi
CEPHES_EXTERN_EXPORT double psi(double x)
Definition: psi.c:146
kolmogp
CEPHES_EXTERN_EXPORT double kolmogp(double x)
Definition: kolmogorov.c:402
smirnovi
CEPHES_EXTERN_EXPORT double smirnovi(int n, double p)
Definition: kolmogorov.c:1132
v
Array< int, Dynamic, 1 > v
Definition: Array_initializer_list_vector_cxx11.cpp:1
poch
CEPHES_EXTERN_EXPORT double poch(double x, double m)
Definition: poch.c:11
hyp2f1
CEPHES_EXTERN_EXPORT double hyp2f1(double a, double b, double c, double x)
Definition: hyp2f1.c:332
lgam_sgn
CEPHES_EXTERN_EXPORT double lgam_sgn(double x, int *sign)
Definition: gamma.c:281
gammasgn
CEPHES_EXTERN_EXPORT double gammasgn(double x)
Definition: gammasgn.c:3
igami
CEPHES_EXTERN_EXPORT double igami(double a, double p)
Definition: igami.c:257
incbet
CEPHES_EXTERN_EXPORT double incbet(double aa, double bb, double xx)
Definition: incbet.c:283
lanczos_sum_expg_scaled
CEPHES_EXTERN_EXPORT double lanczos_sum_expg_scaled(double x)
Definition: lanczos.c:25
round
CEPHES_EXTERN_EXPORT double round(double x)
Definition: round.c:38
pdtrc
CEPHES_EXTERN_EXPORT double pdtrc(double k, double m)
Definition: pdtr.c:130
bdtr
CEPHES_EXTERN_EXPORT double bdtr(double k, int n, double p)
Definition: bdtr.c:184
sici
CEPHES_EXTERN_EXPORT int sici(double x, double *si, double *ci)
Definition: sici.c:189
align_3::t
Point2 t(10, 10)
nn
idx_t * nn
Definition: include/metis.h:207
i1e
CEPHES_EXTERN_EXPORT double i1e(double x)
Definition: i1.c:169
hyperg
CEPHES_EXTERN_EXPORT double hyperg(double a, double b, double x)
Definition: hyperg.c:326
Gamma
CEPHES_EXTERN_EXPORT double Gamma(double x)
Definition: gamma.c:160
spence
CEPHES_EXTERN_EXPORT double spence(double x)
Definition: spence.c:77
pdtr
CEPHES_EXTERN_EXPORT double pdtr(double k, double m)
Definition: pdtr.c:146
k1e
CEPHES_EXTERN_EXPORT double k1e(double x)
Definition: k1.c:159
j0
CEPHES_EXTERN_EXPORT double j0(double x)
Definition: j0.c:185
ellpe
CEPHES_EXTERN_EXPORT double ellpe(double x)
Definition: ellpe.c:95
nbdtrc
CEPHES_EXTERN_EXPORT double nbdtrc(int k, int n, double p)
Definition: nbdtr.c:155
gdtrc
CEPHES_EXTERN_EXPORT double gdtrc(double a, double b, double x)
Definition: gdtr.c:112


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:01:58