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