diff options
author | Alberto Ruiz <aruiz@um.es> | 2007-07-28 18:46:44 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2007-07-28 18:46:44 +0000 |
commit | b1b908c10ad7a393200651b4b23fc0b26efbc1b9 (patch) | |
tree | 515c7f7046a811561cabed1e1e2efb286a616621 | |
parent | 7bf1ba2ecbb9d58c42b8710a76857ed34575290f (diff) |
(added) GSL.Special.Bessel.hs
-rw-r--r-- | lib/GSL/Special/Bessel.hs | 604 | ||||
-rw-r--r-- | lib/GSL/Special/bessel.h | 99 |
2 files changed, 703 insertions, 0 deletions
diff --git a/lib/GSL/Special/Bessel.hs b/lib/GSL/Special/Bessel.hs new file mode 100644 index 0000000..e0e2ab5 --- /dev/null +++ b/lib/GSL/Special/Bessel.hs | |||
@@ -0,0 +1,604 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Bessel | ||
4 | Copyright : (c) Alberto Ruiz 2006 | ||
5 | License : GPL-style | ||
6 | Maintainer : Alberto Ruiz (aruiz at um dot es) | ||
7 | Stability : provisional | ||
8 | Portability : uses ffi | ||
9 | |||
10 | Wrappers for selected functions described at: | ||
11 | |||
12 | <http://www.gnu.org/software/gsl/manual/html_node/Bessel-Functions.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Bessel( | ||
18 | bessel_J0_e | ||
19 | , bessel_J0 | ||
20 | , bessel_J1_e | ||
21 | , bessel_J1 | ||
22 | , bessel_Jn_e | ||
23 | , bessel_Jn | ||
24 | , bessel_Y0_e | ||
25 | , bessel_Y0 | ||
26 | , bessel_Y1_e | ||
27 | , bessel_Y1 | ||
28 | , bessel_Yn_e | ||
29 | , bessel_Yn | ||
30 | , bessel_I0_e | ||
31 | , bessel_I0 | ||
32 | , bessel_I1_e | ||
33 | , bessel_I1 | ||
34 | , bessel_In_e | ||
35 | , bessel_In | ||
36 | , bessel_I0_scaled_e | ||
37 | , bessel_I0_scaled | ||
38 | , bessel_I1_scaled_e | ||
39 | , bessel_I1_scaled | ||
40 | , bessel_In_scaled_e | ||
41 | , bessel_In_scaled | ||
42 | , bessel_K0_e | ||
43 | , bessel_K0 | ||
44 | , bessel_K1_e | ||
45 | , bessel_K1 | ||
46 | , bessel_Kn_e | ||
47 | , bessel_Kn | ||
48 | , bessel_K0_scaled_e | ||
49 | , bessel_K0_scaled | ||
50 | , bessel_K1_scaled_e | ||
51 | , bessel_K1_scaled | ||
52 | , bessel_Kn_scaled_e | ||
53 | , bessel_Kn_scaled | ||
54 | , bessel_j0_e | ||
55 | , bessel_j0 | ||
56 | , bessel_j1_e | ||
57 | , bessel_j1 | ||
58 | , bessel_j2_e | ||
59 | , bessel_j2 | ||
60 | , bessel_jl_e | ||
61 | , bessel_jl | ||
62 | , bessel_y0_e | ||
63 | , bessel_y0 | ||
64 | , bessel_y1_e | ||
65 | , bessel_y1 | ||
66 | , bessel_y2_e | ||
67 | , bessel_y2 | ||
68 | , bessel_yl_e | ||
69 | , bessel_yl | ||
70 | , bessel_i0_scaled_e | ||
71 | , bessel_i0_scaled | ||
72 | , bessel_i1_scaled_e | ||
73 | , bessel_i1_scaled | ||
74 | , bessel_i2_scaled_e | ||
75 | , bessel_i2_scaled | ||
76 | , bessel_il_scaled_e | ||
77 | , bessel_il_scaled | ||
78 | , bessel_k0_scaled_e | ||
79 | , bessel_k0_scaled | ||
80 | , bessel_k1_scaled_e | ||
81 | , bessel_k1_scaled | ||
82 | , bessel_k2_scaled_e | ||
83 | , bessel_k2_scaled | ||
84 | , bessel_kl_scaled_e | ||
85 | , bessel_kl_scaled | ||
86 | , bessel_Jnu_e | ||
87 | , bessel_Jnu | ||
88 | , bessel_Ynu_e | ||
89 | , bessel_Ynu | ||
90 | , bessel_Inu_scaled_e | ||
91 | , bessel_Inu_scaled | ||
92 | , bessel_Inu_e | ||
93 | , bessel_Inu | ||
94 | , bessel_Knu_scaled_e | ||
95 | , bessel_Knu_scaled | ||
96 | , bessel_Knu_e | ||
97 | , bessel_Knu | ||
98 | , bessel_lnKnu_e | ||
99 | , bessel_lnKnu | ||
100 | , bessel_zero_J0_e | ||
101 | , bessel_zero_J0 | ||
102 | , bessel_zero_J1_e | ||
103 | , bessel_zero_J1 | ||
104 | , bessel_zero_Jnu_e | ||
105 | , bessel_zero_Jnu | ||
106 | ) where | ||
107 | |||
108 | import Foreign(Ptr) | ||
109 | import GSL.Special.Internal | ||
110 | |||
111 | -- | wrapper for int gsl_sf_bessel_J0_e(double x,gsl_sf_result* result); | ||
112 | bessel_J0_e :: Double -> (Double,Double) | ||
113 | bessel_J0_e x = createSFR "bessel_J0_e" $ gsl_sf_bessel_J0_e x | ||
114 | foreign import ccall "bessel.h gsl_sf_bessel_J0_e" gsl_sf_bessel_J0_e :: Double -> Ptr Double -> IO(Int) | ||
115 | |||
116 | -- | wrapper for double gsl_sf_bessel_J0(double x); | ||
117 | bessel_J0 :: Double -> Double | ||
118 | bessel_J0 = gsl_sf_bessel_J0 | ||
119 | foreign import ccall "bessel.h gsl_sf_bessel_J0" gsl_sf_bessel_J0 :: Double -> Double | ||
120 | |||
121 | -- | wrapper for int gsl_sf_bessel_J1_e(double x,gsl_sf_result* result); | ||
122 | bessel_J1_e :: Double -> (Double,Double) | ||
123 | bessel_J1_e x = createSFR "bessel_J1_e" $ gsl_sf_bessel_J1_e x | ||
124 | foreign import ccall "bessel.h gsl_sf_bessel_J1_e" gsl_sf_bessel_J1_e :: Double -> Ptr Double -> IO(Int) | ||
125 | |||
126 | -- | wrapper for double gsl_sf_bessel_J1(double x); | ||
127 | bessel_J1 :: Double -> Double | ||
128 | bessel_J1 = gsl_sf_bessel_J1 | ||
129 | foreign import ccall "bessel.h gsl_sf_bessel_J1" gsl_sf_bessel_J1 :: Double -> Double | ||
130 | |||
131 | -- | wrapper for int gsl_sf_bessel_Jn_e(int n,double x,gsl_sf_result* result); | ||
132 | bessel_Jn_e :: Int -> Double -> (Double,Double) | ||
133 | bessel_Jn_e n x = createSFR "bessel_Jn_e" $ gsl_sf_bessel_Jn_e n x | ||
134 | foreign import ccall "bessel.h gsl_sf_bessel_Jn_e" gsl_sf_bessel_Jn_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
135 | |||
136 | -- | wrapper for double gsl_sf_bessel_Jn(int n,double x); | ||
137 | bessel_Jn :: Int -> Double -> Double | ||
138 | bessel_Jn = gsl_sf_bessel_Jn | ||
139 | foreign import ccall "bessel.h gsl_sf_bessel_Jn" gsl_sf_bessel_Jn :: Int -> Double -> Double | ||
140 | |||
141 | -- | wrapper for int gsl_sf_bessel_Jn_array(int nmin,int nmax,double x,double* result_array); | ||
142 | bessel_Jn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
143 | bessel_Jn_array = gsl_sf_bessel_Jn_array | ||
144 | foreign import ccall "bessel.h gsl_sf_bessel_Jn_array" gsl_sf_bessel_Jn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
145 | |||
146 | -- | wrapper for int gsl_sf_bessel_Y0_e(double x,gsl_sf_result* result); | ||
147 | bessel_Y0_e :: Double -> (Double,Double) | ||
148 | bessel_Y0_e x = createSFR "bessel_Y0_e" $ gsl_sf_bessel_Y0_e x | ||
149 | foreign import ccall "bessel.h gsl_sf_bessel_Y0_e" gsl_sf_bessel_Y0_e :: Double -> Ptr Double -> IO(Int) | ||
150 | |||
151 | -- | wrapper for double gsl_sf_bessel_Y0(double x); | ||
152 | bessel_Y0 :: Double -> Double | ||
153 | bessel_Y0 = gsl_sf_bessel_Y0 | ||
154 | foreign import ccall "bessel.h gsl_sf_bessel_Y0" gsl_sf_bessel_Y0 :: Double -> Double | ||
155 | |||
156 | -- | wrapper for int gsl_sf_bessel_Y1_e(double x,gsl_sf_result* result); | ||
157 | bessel_Y1_e :: Double -> (Double,Double) | ||
158 | bessel_Y1_e x = createSFR "bessel_Y1_e" $ gsl_sf_bessel_Y1_e x | ||
159 | foreign import ccall "bessel.h gsl_sf_bessel_Y1_e" gsl_sf_bessel_Y1_e :: Double -> Ptr Double -> IO(Int) | ||
160 | |||
161 | -- | wrapper for double gsl_sf_bessel_Y1(double x); | ||
162 | bessel_Y1 :: Double -> Double | ||
163 | bessel_Y1 = gsl_sf_bessel_Y1 | ||
164 | foreign import ccall "bessel.h gsl_sf_bessel_Y1" gsl_sf_bessel_Y1 :: Double -> Double | ||
165 | |||
166 | -- | wrapper for int gsl_sf_bessel_Yn_e(int n,double x,gsl_sf_result* result); | ||
167 | bessel_Yn_e :: Int -> Double -> (Double,Double) | ||
168 | bessel_Yn_e n x = createSFR "bessel_Yn_e" $ gsl_sf_bessel_Yn_e n x | ||
169 | foreign import ccall "bessel.h gsl_sf_bessel_Yn_e" gsl_sf_bessel_Yn_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
170 | |||
171 | -- | wrapper for double gsl_sf_bessel_Yn(int n,double x); | ||
172 | bessel_Yn :: Int -> Double -> Double | ||
173 | bessel_Yn = gsl_sf_bessel_Yn | ||
174 | foreign import ccall "bessel.h gsl_sf_bessel_Yn" gsl_sf_bessel_Yn :: Int -> Double -> Double | ||
175 | |||
176 | -- | wrapper for int gsl_sf_bessel_Yn_array(int nmin,int nmax,double x,double* result_array); | ||
177 | bessel_Yn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
178 | bessel_Yn_array = gsl_sf_bessel_Yn_array | ||
179 | foreign import ccall "bessel.h gsl_sf_bessel_Yn_array" gsl_sf_bessel_Yn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
180 | |||
181 | -- | wrapper for int gsl_sf_bessel_I0_e(double x,gsl_sf_result* result); | ||
182 | bessel_I0_e :: Double -> (Double,Double) | ||
183 | bessel_I0_e x = createSFR "bessel_I0_e" $ gsl_sf_bessel_I0_e x | ||
184 | foreign import ccall "bessel.h gsl_sf_bessel_I0_e" gsl_sf_bessel_I0_e :: Double -> Ptr Double -> IO(Int) | ||
185 | |||
186 | -- | wrapper for double gsl_sf_bessel_I0(double x); | ||
187 | bessel_I0 :: Double -> Double | ||
188 | bessel_I0 = gsl_sf_bessel_I0 | ||
189 | foreign import ccall "bessel.h gsl_sf_bessel_I0" gsl_sf_bessel_I0 :: Double -> Double | ||
190 | |||
191 | -- | wrapper for int gsl_sf_bessel_I1_e(double x,gsl_sf_result* result); | ||
192 | bessel_I1_e :: Double -> (Double,Double) | ||
193 | bessel_I1_e x = createSFR "bessel_I1_e" $ gsl_sf_bessel_I1_e x | ||
194 | foreign import ccall "bessel.h gsl_sf_bessel_I1_e" gsl_sf_bessel_I1_e :: Double -> Ptr Double -> IO(Int) | ||
195 | |||
196 | -- | wrapper for double gsl_sf_bessel_I1(double x); | ||
197 | bessel_I1 :: Double -> Double | ||
198 | bessel_I1 = gsl_sf_bessel_I1 | ||
199 | foreign import ccall "bessel.h gsl_sf_bessel_I1" gsl_sf_bessel_I1 :: Double -> Double | ||
200 | |||
201 | -- | wrapper for int gsl_sf_bessel_In_e(int n,double x,gsl_sf_result* result); | ||
202 | bessel_In_e :: Int -> Double -> (Double,Double) | ||
203 | bessel_In_e n x = createSFR "bessel_In_e" $ gsl_sf_bessel_In_e n x | ||
204 | foreign import ccall "bessel.h gsl_sf_bessel_In_e" gsl_sf_bessel_In_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
205 | |||
206 | -- | wrapper for double gsl_sf_bessel_In(int n,double x); | ||
207 | bessel_In :: Int -> Double -> Double | ||
208 | bessel_In = gsl_sf_bessel_In | ||
209 | foreign import ccall "bessel.h gsl_sf_bessel_In" gsl_sf_bessel_In :: Int -> Double -> Double | ||
210 | |||
211 | -- | wrapper for int gsl_sf_bessel_In_array(int nmin,int nmax,double x,double* result_array); | ||
212 | bessel_In_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
213 | bessel_In_array = gsl_sf_bessel_In_array | ||
214 | foreign import ccall "bessel.h gsl_sf_bessel_In_array" gsl_sf_bessel_In_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
215 | |||
216 | -- | wrapper for int gsl_sf_bessel_I0_scaled_e(double x,gsl_sf_result* result); | ||
217 | bessel_I0_scaled_e :: Double -> (Double,Double) | ||
218 | bessel_I0_scaled_e x = createSFR "bessel_I0_scaled_e" $ gsl_sf_bessel_I0_scaled_e x | ||
219 | foreign import ccall "bessel.h gsl_sf_bessel_I0_scaled_e" gsl_sf_bessel_I0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
220 | |||
221 | -- | wrapper for double gsl_sf_bessel_I0_scaled(double x); | ||
222 | bessel_I0_scaled :: Double -> Double | ||
223 | bessel_I0_scaled = gsl_sf_bessel_I0_scaled | ||
224 | foreign import ccall "bessel.h gsl_sf_bessel_I0_scaled" gsl_sf_bessel_I0_scaled :: Double -> Double | ||
225 | |||
226 | -- | wrapper for int gsl_sf_bessel_I1_scaled_e(double x,gsl_sf_result* result); | ||
227 | bessel_I1_scaled_e :: Double -> (Double,Double) | ||
228 | bessel_I1_scaled_e x = createSFR "bessel_I1_scaled_e" $ gsl_sf_bessel_I1_scaled_e x | ||
229 | foreign import ccall "bessel.h gsl_sf_bessel_I1_scaled_e" gsl_sf_bessel_I1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
230 | |||
231 | -- | wrapper for double gsl_sf_bessel_I1_scaled(double x); | ||
232 | bessel_I1_scaled :: Double -> Double | ||
233 | bessel_I1_scaled = gsl_sf_bessel_I1_scaled | ||
234 | foreign import ccall "bessel.h gsl_sf_bessel_I1_scaled" gsl_sf_bessel_I1_scaled :: Double -> Double | ||
235 | |||
236 | -- | wrapper for int gsl_sf_bessel_In_scaled_e(int n,double x,gsl_sf_result* result); | ||
237 | bessel_In_scaled_e :: Int -> Double -> (Double,Double) | ||
238 | bessel_In_scaled_e n x = createSFR "bessel_In_scaled_e" $ gsl_sf_bessel_In_scaled_e n x | ||
239 | foreign import ccall "bessel.h gsl_sf_bessel_In_scaled_e" gsl_sf_bessel_In_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
240 | |||
241 | -- | wrapper for double gsl_sf_bessel_In_scaled(int n,double x); | ||
242 | bessel_In_scaled :: Int -> Double -> Double | ||
243 | bessel_In_scaled = gsl_sf_bessel_In_scaled | ||
244 | foreign import ccall "bessel.h gsl_sf_bessel_In_scaled" gsl_sf_bessel_In_scaled :: Int -> Double -> Double | ||
245 | |||
246 | -- | wrapper for int gsl_sf_bessel_In_scaled_array(int nmin,int nmax,double x,double* result_array); | ||
247 | bessel_In_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
248 | bessel_In_scaled_array = gsl_sf_bessel_In_scaled_array | ||
249 | foreign import ccall "bessel.h gsl_sf_bessel_In_scaled_array" gsl_sf_bessel_In_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
250 | |||
251 | -- | wrapper for int gsl_sf_bessel_K0_e(double x,gsl_sf_result* result); | ||
252 | bessel_K0_e :: Double -> (Double,Double) | ||
253 | bessel_K0_e x = createSFR "bessel_K0_e" $ gsl_sf_bessel_K0_e x | ||
254 | foreign import ccall "bessel.h gsl_sf_bessel_K0_e" gsl_sf_bessel_K0_e :: Double -> Ptr Double -> IO(Int) | ||
255 | |||
256 | -- | wrapper for double gsl_sf_bessel_K0(double x); | ||
257 | bessel_K0 :: Double -> Double | ||
258 | bessel_K0 = gsl_sf_bessel_K0 | ||
259 | foreign import ccall "bessel.h gsl_sf_bessel_K0" gsl_sf_bessel_K0 :: Double -> Double | ||
260 | |||
261 | -- | wrapper for int gsl_sf_bessel_K1_e(double x,gsl_sf_result* result); | ||
262 | bessel_K1_e :: Double -> (Double,Double) | ||
263 | bessel_K1_e x = createSFR "bessel_K1_e" $ gsl_sf_bessel_K1_e x | ||
264 | foreign import ccall "bessel.h gsl_sf_bessel_K1_e" gsl_sf_bessel_K1_e :: Double -> Ptr Double -> IO(Int) | ||
265 | |||
266 | -- | wrapper for double gsl_sf_bessel_K1(double x); | ||
267 | bessel_K1 :: Double -> Double | ||
268 | bessel_K1 = gsl_sf_bessel_K1 | ||
269 | foreign import ccall "bessel.h gsl_sf_bessel_K1" gsl_sf_bessel_K1 :: Double -> Double | ||
270 | |||
271 | -- | wrapper for int gsl_sf_bessel_Kn_e(int n,double x,gsl_sf_result* result); | ||
272 | bessel_Kn_e :: Int -> Double -> (Double,Double) | ||
273 | bessel_Kn_e n x = createSFR "bessel_Kn_e" $ gsl_sf_bessel_Kn_e n x | ||
274 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_e" gsl_sf_bessel_Kn_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
275 | |||
276 | -- | wrapper for double gsl_sf_bessel_Kn(int n,double x); | ||
277 | bessel_Kn :: Int -> Double -> Double | ||
278 | bessel_Kn = gsl_sf_bessel_Kn | ||
279 | foreign import ccall "bessel.h gsl_sf_bessel_Kn" gsl_sf_bessel_Kn :: Int -> Double -> Double | ||
280 | |||
281 | -- | wrapper for int gsl_sf_bessel_Kn_array(int nmin,int nmax,double x,double* result_array); | ||
282 | bessel_Kn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
283 | bessel_Kn_array = gsl_sf_bessel_Kn_array | ||
284 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_array" gsl_sf_bessel_Kn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
285 | |||
286 | -- | wrapper for int gsl_sf_bessel_K0_scaled_e(double x,gsl_sf_result* result); | ||
287 | bessel_K0_scaled_e :: Double -> (Double,Double) | ||
288 | bessel_K0_scaled_e x = createSFR "bessel_K0_scaled_e" $ gsl_sf_bessel_K0_scaled_e x | ||
289 | foreign import ccall "bessel.h gsl_sf_bessel_K0_scaled_e" gsl_sf_bessel_K0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
290 | |||
291 | -- | wrapper for double gsl_sf_bessel_K0_scaled(double x); | ||
292 | bessel_K0_scaled :: Double -> Double | ||
293 | bessel_K0_scaled = gsl_sf_bessel_K0_scaled | ||
294 | foreign import ccall "bessel.h gsl_sf_bessel_K0_scaled" gsl_sf_bessel_K0_scaled :: Double -> Double | ||
295 | |||
296 | -- | wrapper for int gsl_sf_bessel_K1_scaled_e(double x,gsl_sf_result* result); | ||
297 | bessel_K1_scaled_e :: Double -> (Double,Double) | ||
298 | bessel_K1_scaled_e x = createSFR "bessel_K1_scaled_e" $ gsl_sf_bessel_K1_scaled_e x | ||
299 | foreign import ccall "bessel.h gsl_sf_bessel_K1_scaled_e" gsl_sf_bessel_K1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
300 | |||
301 | -- | wrapper for double gsl_sf_bessel_K1_scaled(double x); | ||
302 | bessel_K1_scaled :: Double -> Double | ||
303 | bessel_K1_scaled = gsl_sf_bessel_K1_scaled | ||
304 | foreign import ccall "bessel.h gsl_sf_bessel_K1_scaled" gsl_sf_bessel_K1_scaled :: Double -> Double | ||
305 | |||
306 | -- | wrapper for int gsl_sf_bessel_Kn_scaled_e(int n,double x,gsl_sf_result* result); | ||
307 | bessel_Kn_scaled_e :: Int -> Double -> (Double,Double) | ||
308 | bessel_Kn_scaled_e n x = createSFR "bessel_Kn_scaled_e" $ gsl_sf_bessel_Kn_scaled_e n x | ||
309 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_scaled_e" gsl_sf_bessel_Kn_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
310 | |||
311 | -- | wrapper for double gsl_sf_bessel_Kn_scaled(int n,double x); | ||
312 | bessel_Kn_scaled :: Int -> Double -> Double | ||
313 | bessel_Kn_scaled = gsl_sf_bessel_Kn_scaled | ||
314 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_scaled" gsl_sf_bessel_Kn_scaled :: Int -> Double -> Double | ||
315 | |||
316 | -- | wrapper for int gsl_sf_bessel_Kn_scaled_array(int nmin,int nmax,double x,double* result_array); | ||
317 | bessel_Kn_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
318 | bessel_Kn_scaled_array = gsl_sf_bessel_Kn_scaled_array | ||
319 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_scaled_array" gsl_sf_bessel_Kn_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
320 | |||
321 | -- | wrapper for int gsl_sf_bessel_j0_e(double x,gsl_sf_result* result); | ||
322 | bessel_j0_e :: Double -> (Double,Double) | ||
323 | bessel_j0_e x = createSFR "bessel_j0_e" $ gsl_sf_bessel_j0_e x | ||
324 | foreign import ccall "bessel.h gsl_sf_bessel_j0_e" gsl_sf_bessel_j0_e :: Double -> Ptr Double -> IO(Int) | ||
325 | |||
326 | -- | wrapper for double gsl_sf_bessel_j0(double x); | ||
327 | bessel_j0 :: Double -> Double | ||
328 | bessel_j0 = gsl_sf_bessel_j0 | ||
329 | foreign import ccall "bessel.h gsl_sf_bessel_j0" gsl_sf_bessel_j0 :: Double -> Double | ||
330 | |||
331 | -- | wrapper for int gsl_sf_bessel_j1_e(double x,gsl_sf_result* result); | ||
332 | bessel_j1_e :: Double -> (Double,Double) | ||
333 | bessel_j1_e x = createSFR "bessel_j1_e" $ gsl_sf_bessel_j1_e x | ||
334 | foreign import ccall "bessel.h gsl_sf_bessel_j1_e" gsl_sf_bessel_j1_e :: Double -> Ptr Double -> IO(Int) | ||
335 | |||
336 | -- | wrapper for double gsl_sf_bessel_j1(double x); | ||
337 | bessel_j1 :: Double -> Double | ||
338 | bessel_j1 = gsl_sf_bessel_j1 | ||
339 | foreign import ccall "bessel.h gsl_sf_bessel_j1" gsl_sf_bessel_j1 :: Double -> Double | ||
340 | |||
341 | -- | wrapper for int gsl_sf_bessel_j2_e(double x,gsl_sf_result* result); | ||
342 | bessel_j2_e :: Double -> (Double,Double) | ||
343 | bessel_j2_e x = createSFR "bessel_j2_e" $ gsl_sf_bessel_j2_e x | ||
344 | foreign import ccall "bessel.h gsl_sf_bessel_j2_e" gsl_sf_bessel_j2_e :: Double -> Ptr Double -> IO(Int) | ||
345 | |||
346 | -- | wrapper for double gsl_sf_bessel_j2(double x); | ||
347 | bessel_j2 :: Double -> Double | ||
348 | bessel_j2 = gsl_sf_bessel_j2 | ||
349 | foreign import ccall "bessel.h gsl_sf_bessel_j2" gsl_sf_bessel_j2 :: Double -> Double | ||
350 | |||
351 | -- | wrapper for int gsl_sf_bessel_jl_e(int l,double x,gsl_sf_result* result); | ||
352 | bessel_jl_e :: Int -> Double -> (Double,Double) | ||
353 | bessel_jl_e l x = createSFR "bessel_jl_e" $ gsl_sf_bessel_jl_e l x | ||
354 | foreign import ccall "bessel.h gsl_sf_bessel_jl_e" gsl_sf_bessel_jl_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
355 | |||
356 | -- | wrapper for double gsl_sf_bessel_jl(int l,double x); | ||
357 | bessel_jl :: Int -> Double -> Double | ||
358 | bessel_jl = gsl_sf_bessel_jl | ||
359 | foreign import ccall "bessel.h gsl_sf_bessel_jl" gsl_sf_bessel_jl :: Int -> Double -> Double | ||
360 | |||
361 | -- | wrapper for int gsl_sf_bessel_jl_array(int lmax,double x,double* result_array); | ||
362 | bessel_jl_array :: Int -> Double -> Ptr Double -> Int | ||
363 | bessel_jl_array = gsl_sf_bessel_jl_array | ||
364 | foreign import ccall "bessel.h gsl_sf_bessel_jl_array" gsl_sf_bessel_jl_array :: Int -> Double -> Ptr Double -> Int | ||
365 | |||
366 | -- | wrapper for int gsl_sf_bessel_jl_steed_array(int lmax,double x,double* jl_x_array); | ||
367 | bessel_jl_steed_array :: Int -> Double -> Ptr Double -> Int | ||
368 | bessel_jl_steed_array = gsl_sf_bessel_jl_steed_array | ||
369 | foreign import ccall "bessel.h gsl_sf_bessel_jl_steed_array" gsl_sf_bessel_jl_steed_array :: Int -> Double -> Ptr Double -> Int | ||
370 | |||
371 | -- | wrapper for int gsl_sf_bessel_y0_e(double x,gsl_sf_result* result); | ||
372 | bessel_y0_e :: Double -> (Double,Double) | ||
373 | bessel_y0_e x = createSFR "bessel_y0_e" $ gsl_sf_bessel_y0_e x | ||
374 | foreign import ccall "bessel.h gsl_sf_bessel_y0_e" gsl_sf_bessel_y0_e :: Double -> Ptr Double -> IO(Int) | ||
375 | |||
376 | -- | wrapper for double gsl_sf_bessel_y0(double x); | ||
377 | bessel_y0 :: Double -> Double | ||
378 | bessel_y0 = gsl_sf_bessel_y0 | ||
379 | foreign import ccall "bessel.h gsl_sf_bessel_y0" gsl_sf_bessel_y0 :: Double -> Double | ||
380 | |||
381 | -- | wrapper for int gsl_sf_bessel_y1_e(double x,gsl_sf_result* result); | ||
382 | bessel_y1_e :: Double -> (Double,Double) | ||
383 | bessel_y1_e x = createSFR "bessel_y1_e" $ gsl_sf_bessel_y1_e x | ||
384 | foreign import ccall "bessel.h gsl_sf_bessel_y1_e" gsl_sf_bessel_y1_e :: Double -> Ptr Double -> IO(Int) | ||
385 | |||
386 | -- | wrapper for double gsl_sf_bessel_y1(double x); | ||
387 | bessel_y1 :: Double -> Double | ||
388 | bessel_y1 = gsl_sf_bessel_y1 | ||
389 | foreign import ccall "bessel.h gsl_sf_bessel_y1" gsl_sf_bessel_y1 :: Double -> Double | ||
390 | |||
391 | -- | wrapper for int gsl_sf_bessel_y2_e(double x,gsl_sf_result* result); | ||
392 | bessel_y2_e :: Double -> (Double,Double) | ||
393 | bessel_y2_e x = createSFR "bessel_y2_e" $ gsl_sf_bessel_y2_e x | ||
394 | foreign import ccall "bessel.h gsl_sf_bessel_y2_e" gsl_sf_bessel_y2_e :: Double -> Ptr Double -> IO(Int) | ||
395 | |||
396 | -- | wrapper for double gsl_sf_bessel_y2(double x); | ||
397 | bessel_y2 :: Double -> Double | ||
398 | bessel_y2 = gsl_sf_bessel_y2 | ||
399 | foreign import ccall "bessel.h gsl_sf_bessel_y2" gsl_sf_bessel_y2 :: Double -> Double | ||
400 | |||
401 | -- | wrapper for int gsl_sf_bessel_yl_e(int l,double x,gsl_sf_result* result); | ||
402 | bessel_yl_e :: Int -> Double -> (Double,Double) | ||
403 | bessel_yl_e l x = createSFR "bessel_yl_e" $ gsl_sf_bessel_yl_e l x | ||
404 | foreign import ccall "bessel.h gsl_sf_bessel_yl_e" gsl_sf_bessel_yl_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
405 | |||
406 | -- | wrapper for double gsl_sf_bessel_yl(int l,double x); | ||
407 | bessel_yl :: Int -> Double -> Double | ||
408 | bessel_yl = gsl_sf_bessel_yl | ||
409 | foreign import ccall "bessel.h gsl_sf_bessel_yl" gsl_sf_bessel_yl :: Int -> Double -> Double | ||
410 | |||
411 | -- | wrapper for int gsl_sf_bessel_yl_array(int lmax,double x,double* result_array); | ||
412 | bessel_yl_array :: Int -> Double -> Ptr Double -> Int | ||
413 | bessel_yl_array = gsl_sf_bessel_yl_array | ||
414 | foreign import ccall "bessel.h gsl_sf_bessel_yl_array" gsl_sf_bessel_yl_array :: Int -> Double -> Ptr Double -> Int | ||
415 | |||
416 | -- | wrapper for int gsl_sf_bessel_i0_scaled_e(double x,gsl_sf_result* result); | ||
417 | bessel_i0_scaled_e :: Double -> (Double,Double) | ||
418 | bessel_i0_scaled_e x = createSFR "bessel_i0_scaled_e" $ gsl_sf_bessel_i0_scaled_e x | ||
419 | foreign import ccall "bessel.h gsl_sf_bessel_i0_scaled_e" gsl_sf_bessel_i0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
420 | |||
421 | -- | wrapper for double gsl_sf_bessel_i0_scaled(double x); | ||
422 | bessel_i0_scaled :: Double -> Double | ||
423 | bessel_i0_scaled = gsl_sf_bessel_i0_scaled | ||
424 | foreign import ccall "bessel.h gsl_sf_bessel_i0_scaled" gsl_sf_bessel_i0_scaled :: Double -> Double | ||
425 | |||
426 | -- | wrapper for int gsl_sf_bessel_i1_scaled_e(double x,gsl_sf_result* result); | ||
427 | bessel_i1_scaled_e :: Double -> (Double,Double) | ||
428 | bessel_i1_scaled_e x = createSFR "bessel_i1_scaled_e" $ gsl_sf_bessel_i1_scaled_e x | ||
429 | foreign import ccall "bessel.h gsl_sf_bessel_i1_scaled_e" gsl_sf_bessel_i1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
430 | |||
431 | -- | wrapper for double gsl_sf_bessel_i1_scaled(double x); | ||
432 | bessel_i1_scaled :: Double -> Double | ||
433 | bessel_i1_scaled = gsl_sf_bessel_i1_scaled | ||
434 | foreign import ccall "bessel.h gsl_sf_bessel_i1_scaled" gsl_sf_bessel_i1_scaled :: Double -> Double | ||
435 | |||
436 | -- | wrapper for int gsl_sf_bessel_i2_scaled_e(double x,gsl_sf_result* result); | ||
437 | bessel_i2_scaled_e :: Double -> (Double,Double) | ||
438 | bessel_i2_scaled_e x = createSFR "bessel_i2_scaled_e" $ gsl_sf_bessel_i2_scaled_e x | ||
439 | foreign import ccall "bessel.h gsl_sf_bessel_i2_scaled_e" gsl_sf_bessel_i2_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
440 | |||
441 | -- | wrapper for double gsl_sf_bessel_i2_scaled(double x); | ||
442 | bessel_i2_scaled :: Double -> Double | ||
443 | bessel_i2_scaled = gsl_sf_bessel_i2_scaled | ||
444 | foreign import ccall "bessel.h gsl_sf_bessel_i2_scaled" gsl_sf_bessel_i2_scaled :: Double -> Double | ||
445 | |||
446 | -- | wrapper for int gsl_sf_bessel_il_scaled_e(int l,double x,gsl_sf_result* result); | ||
447 | bessel_il_scaled_e :: Int -> Double -> (Double,Double) | ||
448 | bessel_il_scaled_e l x = createSFR "bessel_il_scaled_e" $ gsl_sf_bessel_il_scaled_e l x | ||
449 | foreign import ccall "bessel.h gsl_sf_bessel_il_scaled_e" gsl_sf_bessel_il_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
450 | |||
451 | -- | wrapper for double gsl_sf_bessel_il_scaled(int l,double x); | ||
452 | bessel_il_scaled :: Int -> Double -> Double | ||
453 | bessel_il_scaled = gsl_sf_bessel_il_scaled | ||
454 | foreign import ccall "bessel.h gsl_sf_bessel_il_scaled" gsl_sf_bessel_il_scaled :: Int -> Double -> Double | ||
455 | |||
456 | -- | wrapper for int gsl_sf_bessel_il_scaled_array(int lmax,double x,double* result_array); | ||
457 | bessel_il_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
458 | bessel_il_scaled_array = gsl_sf_bessel_il_scaled_array | ||
459 | foreign import ccall "bessel.h gsl_sf_bessel_il_scaled_array" gsl_sf_bessel_il_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
460 | |||
461 | -- | wrapper for int gsl_sf_bessel_k0_scaled_e(double x,gsl_sf_result* result); | ||
462 | bessel_k0_scaled_e :: Double -> (Double,Double) | ||
463 | bessel_k0_scaled_e x = createSFR "bessel_k0_scaled_e" $ gsl_sf_bessel_k0_scaled_e x | ||
464 | foreign import ccall "bessel.h gsl_sf_bessel_k0_scaled_e" gsl_sf_bessel_k0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
465 | |||
466 | -- | wrapper for double gsl_sf_bessel_k0_scaled(double x); | ||
467 | bessel_k0_scaled :: Double -> Double | ||
468 | bessel_k0_scaled = gsl_sf_bessel_k0_scaled | ||
469 | foreign import ccall "bessel.h gsl_sf_bessel_k0_scaled" gsl_sf_bessel_k0_scaled :: Double -> Double | ||
470 | |||
471 | -- | wrapper for int gsl_sf_bessel_k1_scaled_e(double x,gsl_sf_result* result); | ||
472 | bessel_k1_scaled_e :: Double -> (Double,Double) | ||
473 | bessel_k1_scaled_e x = createSFR "bessel_k1_scaled_e" $ gsl_sf_bessel_k1_scaled_e x | ||
474 | foreign import ccall "bessel.h gsl_sf_bessel_k1_scaled_e" gsl_sf_bessel_k1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
475 | |||
476 | -- | wrapper for double gsl_sf_bessel_k1_scaled(double x); | ||
477 | bessel_k1_scaled :: Double -> Double | ||
478 | bessel_k1_scaled = gsl_sf_bessel_k1_scaled | ||
479 | foreign import ccall "bessel.h gsl_sf_bessel_k1_scaled" gsl_sf_bessel_k1_scaled :: Double -> Double | ||
480 | |||
481 | -- | wrapper for int gsl_sf_bessel_k2_scaled_e(double x,gsl_sf_result* result); | ||
482 | bessel_k2_scaled_e :: Double -> (Double,Double) | ||
483 | bessel_k2_scaled_e x = createSFR "bessel_k2_scaled_e" $ gsl_sf_bessel_k2_scaled_e x | ||
484 | foreign import ccall "bessel.h gsl_sf_bessel_k2_scaled_e" gsl_sf_bessel_k2_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
485 | |||
486 | -- | wrapper for double gsl_sf_bessel_k2_scaled(double x); | ||
487 | bessel_k2_scaled :: Double -> Double | ||
488 | bessel_k2_scaled = gsl_sf_bessel_k2_scaled | ||
489 | foreign import ccall "bessel.h gsl_sf_bessel_k2_scaled" gsl_sf_bessel_k2_scaled :: Double -> Double | ||
490 | |||
491 | -- | wrapper for int gsl_sf_bessel_kl_scaled_e(int l,double x,gsl_sf_result* result); | ||
492 | bessel_kl_scaled_e :: Int -> Double -> (Double,Double) | ||
493 | bessel_kl_scaled_e l x = createSFR "bessel_kl_scaled_e" $ gsl_sf_bessel_kl_scaled_e l x | ||
494 | foreign import ccall "bessel.h gsl_sf_bessel_kl_scaled_e" gsl_sf_bessel_kl_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
495 | |||
496 | -- | wrapper for double gsl_sf_bessel_kl_scaled(int l,double x); | ||
497 | bessel_kl_scaled :: Int -> Double -> Double | ||
498 | bessel_kl_scaled = gsl_sf_bessel_kl_scaled | ||
499 | foreign import ccall "bessel.h gsl_sf_bessel_kl_scaled" gsl_sf_bessel_kl_scaled :: Int -> Double -> Double | ||
500 | |||
501 | -- | wrapper for int gsl_sf_bessel_kl_scaled_array(int lmax,double x,double* result_array); | ||
502 | bessel_kl_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
503 | bessel_kl_scaled_array = gsl_sf_bessel_kl_scaled_array | ||
504 | foreign import ccall "bessel.h gsl_sf_bessel_kl_scaled_array" gsl_sf_bessel_kl_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
505 | |||
506 | -- | wrapper for int gsl_sf_bessel_Jnu_e(double nu,double x,gsl_sf_result* result); | ||
507 | bessel_Jnu_e :: Double -> Double -> (Double,Double) | ||
508 | bessel_Jnu_e nu x = createSFR "bessel_Jnu_e" $ gsl_sf_bessel_Jnu_e nu x | ||
509 | foreign import ccall "bessel.h gsl_sf_bessel_Jnu_e" gsl_sf_bessel_Jnu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
510 | |||
511 | -- | wrapper for double gsl_sf_bessel_Jnu(double nu,double x); | ||
512 | bessel_Jnu :: Double -> Double -> Double | ||
513 | bessel_Jnu = gsl_sf_bessel_Jnu | ||
514 | foreign import ccall "bessel.h gsl_sf_bessel_Jnu" gsl_sf_bessel_Jnu :: Double -> Double -> Double | ||
515 | |||
516 | -- | wrapper for int gsl_sf_bessel_Ynu_e(double nu,double x,gsl_sf_result* result); | ||
517 | bessel_Ynu_e :: Double -> Double -> (Double,Double) | ||
518 | bessel_Ynu_e nu x = createSFR "bessel_Ynu_e" $ gsl_sf_bessel_Ynu_e nu x | ||
519 | foreign import ccall "bessel.h gsl_sf_bessel_Ynu_e" gsl_sf_bessel_Ynu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
520 | |||
521 | -- | wrapper for double gsl_sf_bessel_Ynu(double nu,double x); | ||
522 | bessel_Ynu :: Double -> Double -> Double | ||
523 | bessel_Ynu = gsl_sf_bessel_Ynu | ||
524 | foreign import ccall "bessel.h gsl_sf_bessel_Ynu" gsl_sf_bessel_Ynu :: Double -> Double -> Double | ||
525 | |||
526 | -- | wrapper for int gsl_sf_bessel_Inu_scaled_e(double nu,double x,gsl_sf_result* result); | ||
527 | bessel_Inu_scaled_e :: Double -> Double -> (Double,Double) | ||
528 | bessel_Inu_scaled_e nu x = createSFR "bessel_Inu_scaled_e" $ gsl_sf_bessel_Inu_scaled_e nu x | ||
529 | foreign import ccall "bessel.h gsl_sf_bessel_Inu_scaled_e" gsl_sf_bessel_Inu_scaled_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
530 | |||
531 | -- | wrapper for double gsl_sf_bessel_Inu_scaled(double nu,double x); | ||
532 | bessel_Inu_scaled :: Double -> Double -> Double | ||
533 | bessel_Inu_scaled = gsl_sf_bessel_Inu_scaled | ||
534 | foreign import ccall "bessel.h gsl_sf_bessel_Inu_scaled" gsl_sf_bessel_Inu_scaled :: Double -> Double -> Double | ||
535 | |||
536 | -- | wrapper for int gsl_sf_bessel_Inu_e(double nu,double x,gsl_sf_result* result); | ||
537 | bessel_Inu_e :: Double -> Double -> (Double,Double) | ||
538 | bessel_Inu_e nu x = createSFR "bessel_Inu_e" $ gsl_sf_bessel_Inu_e nu x | ||
539 | foreign import ccall "bessel.h gsl_sf_bessel_Inu_e" gsl_sf_bessel_Inu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
540 | |||
541 | -- | wrapper for double gsl_sf_bessel_Inu(double nu,double x); | ||
542 | bessel_Inu :: Double -> Double -> Double | ||
543 | bessel_Inu = gsl_sf_bessel_Inu | ||
544 | foreign import ccall "bessel.h gsl_sf_bessel_Inu" gsl_sf_bessel_Inu :: Double -> Double -> Double | ||
545 | |||
546 | -- | wrapper for int gsl_sf_bessel_Knu_scaled_e(double nu,double x,gsl_sf_result* result); | ||
547 | bessel_Knu_scaled_e :: Double -> Double -> (Double,Double) | ||
548 | bessel_Knu_scaled_e nu x = createSFR "bessel_Knu_scaled_e" $ gsl_sf_bessel_Knu_scaled_e nu x | ||
549 | foreign import ccall "bessel.h gsl_sf_bessel_Knu_scaled_e" gsl_sf_bessel_Knu_scaled_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
550 | |||
551 | -- | wrapper for double gsl_sf_bessel_Knu_scaled(double nu,double x); | ||
552 | bessel_Knu_scaled :: Double -> Double -> Double | ||
553 | bessel_Knu_scaled = gsl_sf_bessel_Knu_scaled | ||
554 | foreign import ccall "bessel.h gsl_sf_bessel_Knu_scaled" gsl_sf_bessel_Knu_scaled :: Double -> Double -> Double | ||
555 | |||
556 | -- | wrapper for int gsl_sf_bessel_Knu_e(double nu,double x,gsl_sf_result* result); | ||
557 | bessel_Knu_e :: Double -> Double -> (Double,Double) | ||
558 | bessel_Knu_e nu x = createSFR "bessel_Knu_e" $ gsl_sf_bessel_Knu_e nu x | ||
559 | foreign import ccall "bessel.h gsl_sf_bessel_Knu_e" gsl_sf_bessel_Knu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
560 | |||
561 | -- | wrapper for double gsl_sf_bessel_Knu(double nu,double x); | ||
562 | bessel_Knu :: Double -> Double -> Double | ||
563 | bessel_Knu = gsl_sf_bessel_Knu | ||
564 | foreign import ccall "bessel.h gsl_sf_bessel_Knu" gsl_sf_bessel_Knu :: Double -> Double -> Double | ||
565 | |||
566 | -- | wrapper for int gsl_sf_bessel_lnKnu_e(double nu,double x,gsl_sf_result* result); | ||
567 | bessel_lnKnu_e :: Double -> Double -> (Double,Double) | ||
568 | bessel_lnKnu_e nu x = createSFR "bessel_lnKnu_e" $ gsl_sf_bessel_lnKnu_e nu x | ||
569 | foreign import ccall "bessel.h gsl_sf_bessel_lnKnu_e" gsl_sf_bessel_lnKnu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
570 | |||
571 | -- | wrapper for double gsl_sf_bessel_lnKnu(double nu,double x); | ||
572 | bessel_lnKnu :: Double -> Double -> Double | ||
573 | bessel_lnKnu = gsl_sf_bessel_lnKnu | ||
574 | foreign import ccall "bessel.h gsl_sf_bessel_lnKnu" gsl_sf_bessel_lnKnu :: Double -> Double -> Double | ||
575 | |||
576 | -- | wrapper for int gsl_sf_bessel_zero_J0_e(int s,gsl_sf_result* result); | ||
577 | bessel_zero_J0_e :: Int -> (Double,Double) | ||
578 | bessel_zero_J0_e s = createSFR "bessel_zero_J0_e" $ gsl_sf_bessel_zero_J0_e s | ||
579 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J0_e" gsl_sf_bessel_zero_J0_e :: Int -> Ptr Double -> IO(Int) | ||
580 | |||
581 | -- | wrapper for double gsl_sf_bessel_zero_J0(int s); | ||
582 | bessel_zero_J0 :: Int -> Double | ||
583 | bessel_zero_J0 = gsl_sf_bessel_zero_J0 | ||
584 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J0" gsl_sf_bessel_zero_J0 :: Int -> Double | ||
585 | |||
586 | -- | wrapper for int gsl_sf_bessel_zero_J1_e(int s,gsl_sf_result* result); | ||
587 | bessel_zero_J1_e :: Int -> (Double,Double) | ||
588 | bessel_zero_J1_e s = createSFR "bessel_zero_J1_e" $ gsl_sf_bessel_zero_J1_e s | ||
589 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J1_e" gsl_sf_bessel_zero_J1_e :: Int -> Ptr Double -> IO(Int) | ||
590 | |||
591 | -- | wrapper for double gsl_sf_bessel_zero_J1(int s); | ||
592 | bessel_zero_J1 :: Int -> Double | ||
593 | bessel_zero_J1 = gsl_sf_bessel_zero_J1 | ||
594 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J1" gsl_sf_bessel_zero_J1 :: Int -> Double | ||
595 | |||
596 | -- | wrapper for int gsl_sf_bessel_zero_Jnu_e(double nu,int s,gsl_sf_result* result); | ||
597 | bessel_zero_Jnu_e :: Double -> Int -> (Double,Double) | ||
598 | bessel_zero_Jnu_e nu s = createSFR "bessel_zero_Jnu_e" $ gsl_sf_bessel_zero_Jnu_e nu s | ||
599 | foreign import ccall "bessel.h gsl_sf_bessel_zero_Jnu_e" gsl_sf_bessel_zero_Jnu_e :: Double -> Int -> Ptr Double -> IO(Int) | ||
600 | |||
601 | -- | wrapper for double gsl_sf_bessel_zero_Jnu(double nu,int s); | ||
602 | bessel_zero_Jnu :: Double -> Int -> Double | ||
603 | bessel_zero_Jnu = gsl_sf_bessel_zero_Jnu | ||
604 | foreign import ccall "bessel.h gsl_sf_bessel_zero_Jnu" gsl_sf_bessel_zero_Jnu :: Double -> Int -> Double | ||
diff --git a/lib/GSL/Special/bessel.h b/lib/GSL/Special/bessel.h new file mode 100644 index 0000000..fa166d1 --- /dev/null +++ b/lib/GSL/Special/bessel.h | |||
@@ -0,0 +1,99 @@ | |||
1 | int gsl_sf_bessel_J0_e(double x,double* result); | ||
2 | double gsl_sf_bessel_J0(double x); | ||
3 | int gsl_sf_bessel_J1_e(double x,double* result); | ||
4 | double gsl_sf_bessel_J1(double x); | ||
5 | int gsl_sf_bessel_Jn_e(int n,double x,double* result); | ||
6 | double gsl_sf_bessel_Jn(int n,double x); | ||
7 | int gsl_sf_bessel_Jn_array(int nmin,int nmax,double x,double* result_array); | ||
8 | int gsl_sf_bessel_Y0_e(double x,double* result); | ||
9 | double gsl_sf_bessel_Y0(double x); | ||
10 | int gsl_sf_bessel_Y1_e(double x,double* result); | ||
11 | double gsl_sf_bessel_Y1(double x); | ||
12 | int gsl_sf_bessel_Yn_e(int n,double x,double* result); | ||
13 | double gsl_sf_bessel_Yn(int n,double x); | ||
14 | int gsl_sf_bessel_Yn_array(int nmin,int nmax,double x,double* result_array); | ||
15 | int gsl_sf_bessel_I0_e(double x,double* result); | ||
16 | double gsl_sf_bessel_I0(double x); | ||
17 | int gsl_sf_bessel_I1_e(double x,double* result); | ||
18 | double gsl_sf_bessel_I1(double x); | ||
19 | int gsl_sf_bessel_In_e(int n,double x,double* result); | ||
20 | double gsl_sf_bessel_In(int n,double x); | ||
21 | int gsl_sf_bessel_In_array(int nmin,int nmax,double x,double* result_array); | ||
22 | int gsl_sf_bessel_I0_scaled_e(double x,double* result); | ||
23 | double gsl_sf_bessel_I0_scaled(double x); | ||
24 | int gsl_sf_bessel_I1_scaled_e(double x,double* result); | ||
25 | double gsl_sf_bessel_I1_scaled(double x); | ||
26 | int gsl_sf_bessel_In_scaled_e(int n,double x,double* result); | ||
27 | double gsl_sf_bessel_In_scaled(int n,double x); | ||
28 | int gsl_sf_bessel_In_scaled_array(int nmin,int nmax,double x,double* result_array); | ||
29 | int gsl_sf_bessel_K0_e(double x,double* result); | ||
30 | double gsl_sf_bessel_K0(double x); | ||
31 | int gsl_sf_bessel_K1_e(double x,double* result); | ||
32 | double gsl_sf_bessel_K1(double x); | ||
33 | int gsl_sf_bessel_Kn_e(int n,double x,double* result); | ||
34 | double gsl_sf_bessel_Kn(int n,double x); | ||
35 | int gsl_sf_bessel_Kn_array(int nmin,int nmax,double x,double* result_array); | ||
36 | int gsl_sf_bessel_K0_scaled_e(double x,double* result); | ||
37 | double gsl_sf_bessel_K0_scaled(double x); | ||
38 | int gsl_sf_bessel_K1_scaled_e(double x,double* result); | ||
39 | double gsl_sf_bessel_K1_scaled(double x); | ||
40 | int gsl_sf_bessel_Kn_scaled_e(int n,double x,double* result); | ||
41 | double gsl_sf_bessel_Kn_scaled(int n,double x); | ||
42 | int gsl_sf_bessel_Kn_scaled_array(int nmin,int nmax,double x,double* result_array); | ||
43 | int gsl_sf_bessel_j0_e(double x,double* result); | ||
44 | double gsl_sf_bessel_j0(double x); | ||
45 | int gsl_sf_bessel_j1_e(double x,double* result); | ||
46 | double gsl_sf_bessel_j1(double x); | ||
47 | int gsl_sf_bessel_j2_e(double x,double* result); | ||
48 | double gsl_sf_bessel_j2(double x); | ||
49 | int gsl_sf_bessel_jl_e(int l,double x,double* result); | ||
50 | double gsl_sf_bessel_jl(int l,double x); | ||
51 | int gsl_sf_bessel_jl_array(int lmax,double x,double* result_array); | ||
52 | int gsl_sf_bessel_jl_steed_array(int lmax,double x,double* jl_x_array); | ||
53 | int gsl_sf_bessel_y0_e(double x,double* result); | ||
54 | double gsl_sf_bessel_y0(double x); | ||
55 | int gsl_sf_bessel_y1_e(double x,double* result); | ||
56 | double gsl_sf_bessel_y1(double x); | ||
57 | int gsl_sf_bessel_y2_e(double x,double* result); | ||
58 | double gsl_sf_bessel_y2(double x); | ||
59 | int gsl_sf_bessel_yl_e(int l,double x,double* result); | ||
60 | double gsl_sf_bessel_yl(int l,double x); | ||
61 | int gsl_sf_bessel_yl_array(int lmax,double x,double* result_array); | ||
62 | int gsl_sf_bessel_i0_scaled_e(double x,double* result); | ||
63 | double gsl_sf_bessel_i0_scaled(double x); | ||
64 | int gsl_sf_bessel_i1_scaled_e(double x,double* result); | ||
65 | double gsl_sf_bessel_i1_scaled(double x); | ||
66 | int gsl_sf_bessel_i2_scaled_e(double x,double* result); | ||
67 | double gsl_sf_bessel_i2_scaled(double x); | ||
68 | int gsl_sf_bessel_il_scaled_e(int l,double x,double* result); | ||
69 | double gsl_sf_bessel_il_scaled(int l,double x); | ||
70 | int gsl_sf_bessel_il_scaled_array(int lmax,double x,double* result_array); | ||
71 | int gsl_sf_bessel_k0_scaled_e(double x,double* result); | ||
72 | double gsl_sf_bessel_k0_scaled(double x); | ||
73 | int gsl_sf_bessel_k1_scaled_e(double x,double* result); | ||
74 | double gsl_sf_bessel_k1_scaled(double x); | ||
75 | int gsl_sf_bessel_k2_scaled_e(double x,double* result); | ||
76 | double gsl_sf_bessel_k2_scaled(double x); | ||
77 | int gsl_sf_bessel_kl_scaled_e(int l,double x,double* result); | ||
78 | double gsl_sf_bessel_kl_scaled(int l,double x); | ||
79 | int gsl_sf_bessel_kl_scaled_array(int lmax,double x,double* result_array); | ||
80 | int gsl_sf_bessel_Jnu_e(double nu,double x,double* result); | ||
81 | double gsl_sf_bessel_Jnu(double nu,double x); | ||
82 | int gsl_sf_bessel_Ynu_e(double nu,double x,double* result); | ||
83 | double gsl_sf_bessel_Ynu(double nu,double x); | ||
84 | int gsl_sf_bessel_Inu_scaled_e(double nu,double x,double* result); | ||
85 | double gsl_sf_bessel_Inu_scaled(double nu,double x); | ||
86 | int gsl_sf_bessel_Inu_e(double nu,double x,double* result); | ||
87 | double gsl_sf_bessel_Inu(double nu,double x); | ||
88 | int gsl_sf_bessel_Knu_scaled_e(double nu,double x,double* result); | ||
89 | double gsl_sf_bessel_Knu_scaled(double nu,double x); | ||
90 | int gsl_sf_bessel_Knu_e(double nu,double x,double* result); | ||
91 | double gsl_sf_bessel_Knu(double nu,double x); | ||
92 | int gsl_sf_bessel_lnKnu_e(double nu,double x,double* result); | ||
93 | double gsl_sf_bessel_lnKnu(double nu,double x); | ||
94 | int gsl_sf_bessel_zero_J0_e(int s,double* result); | ||
95 | double gsl_sf_bessel_zero_J0(int s); | ||
96 | int gsl_sf_bessel_zero_J1_e(int s,double* result); | ||
97 | double gsl_sf_bessel_zero_J1(int s); | ||
98 | int gsl_sf_bessel_zero_Jnu_e(double nu,int s,double* result); | ||
99 | double gsl_sf_bessel_zero_Jnu(double nu,int s); | ||