diff options
Diffstat (limited to 'lib/GSL/Special')
57 files changed, 0 insertions, 4902 deletions
diff --git a/lib/GSL/Special/Airy.hs b/lib/GSL/Special/Airy.hs deleted file mode 100644 index 872f7c5..0000000 --- a/lib/GSL/Special/Airy.hs +++ /dev/null | |||
@@ -1,166 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Airy | ||
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/Airy-Functions-and-Derivatives.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Airy( | ||
18 | Precision (..) | ||
19 | , airy_Ai_e | ||
20 | , airy_Ai | ||
21 | , airy_Bi_e | ||
22 | , airy_Bi | ||
23 | , airy_Ai_scaled_e | ||
24 | , airy_Ai_scaled | ||
25 | , airy_Bi_scaled_e | ||
26 | , airy_Bi_scaled | ||
27 | , airy_Ai_deriv_e | ||
28 | , airy_Ai_deriv | ||
29 | , airy_Bi_deriv_e | ||
30 | , airy_Bi_deriv | ||
31 | , airy_Ai_deriv_scaled_e | ||
32 | , airy_Ai_deriv_scaled | ||
33 | , airy_Bi_deriv_scaled_e | ||
34 | , airy_Bi_deriv_scaled | ||
35 | , airy_zero_Ai_e | ||
36 | , airy_zero_Ai | ||
37 | , airy_zero_Bi_e | ||
38 | , airy_zero_Bi | ||
39 | , airy_zero_Ai_deriv_e | ||
40 | , airy_zero_Ai_deriv | ||
41 | , airy_zero_Bi_deriv_e | ||
42 | , airy_zero_Bi_deriv | ||
43 | ) where | ||
44 | |||
45 | import Foreign(Ptr) | ||
46 | import GSL.Special.Internal | ||
47 | |||
48 | -- | wrapper for int gsl_sf_airy_Ai_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
49 | airy_Ai_e :: Double -> Precision -> (Double,Double) | ||
50 | airy_Ai_e x mode = createSFR "airy_Ai_e" $ gsl_sf_airy_Ai_e x (precCode mode) | ||
51 | foreign import ccall "airy.h gsl_sf_airy_Ai_e" gsl_sf_airy_Ai_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
52 | |||
53 | -- | wrapper for double gsl_sf_airy_Ai(double x,gsl_mode_t mode); | ||
54 | airy_Ai :: Double -> Precision -> Double | ||
55 | airy_Ai x mode = gsl_sf_airy_Ai x (precCode mode) | ||
56 | foreign import ccall "airy.h gsl_sf_airy_Ai" gsl_sf_airy_Ai :: Double -> Gsl_mode_t -> Double | ||
57 | |||
58 | -- | wrapper for int gsl_sf_airy_Bi_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
59 | airy_Bi_e :: Double -> Precision -> (Double,Double) | ||
60 | airy_Bi_e x mode = createSFR "airy_Bi_e" $ gsl_sf_airy_Bi_e x (precCode mode) | ||
61 | foreign import ccall "airy.h gsl_sf_airy_Bi_e" gsl_sf_airy_Bi_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
62 | |||
63 | -- | wrapper for double gsl_sf_airy_Bi(double x,gsl_mode_t mode); | ||
64 | airy_Bi :: Double -> Precision -> Double | ||
65 | airy_Bi x mode = gsl_sf_airy_Bi x (precCode mode) | ||
66 | foreign import ccall "airy.h gsl_sf_airy_Bi" gsl_sf_airy_Bi :: Double -> Gsl_mode_t -> Double | ||
67 | |||
68 | -- | wrapper for int gsl_sf_airy_Ai_scaled_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
69 | airy_Ai_scaled_e :: Double -> Precision -> (Double,Double) | ||
70 | airy_Ai_scaled_e x mode = createSFR "airy_Ai_scaled_e" $ gsl_sf_airy_Ai_scaled_e x (precCode mode) | ||
71 | foreign import ccall "airy.h gsl_sf_airy_Ai_scaled_e" gsl_sf_airy_Ai_scaled_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
72 | |||
73 | -- | wrapper for double gsl_sf_airy_Ai_scaled(double x,gsl_mode_t mode); | ||
74 | airy_Ai_scaled :: Double -> Precision -> Double | ||
75 | airy_Ai_scaled x mode = gsl_sf_airy_Ai_scaled x (precCode mode) | ||
76 | foreign import ccall "airy.h gsl_sf_airy_Ai_scaled" gsl_sf_airy_Ai_scaled :: Double -> Gsl_mode_t -> Double | ||
77 | |||
78 | -- | wrapper for int gsl_sf_airy_Bi_scaled_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
79 | airy_Bi_scaled_e :: Double -> Precision -> (Double,Double) | ||
80 | airy_Bi_scaled_e x mode = createSFR "airy_Bi_scaled_e" $ gsl_sf_airy_Bi_scaled_e x (precCode mode) | ||
81 | foreign import ccall "airy.h gsl_sf_airy_Bi_scaled_e" gsl_sf_airy_Bi_scaled_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
82 | |||
83 | -- | wrapper for double gsl_sf_airy_Bi_scaled(double x,gsl_mode_t mode); | ||
84 | airy_Bi_scaled :: Double -> Precision -> Double | ||
85 | airy_Bi_scaled x mode = gsl_sf_airy_Bi_scaled x (precCode mode) | ||
86 | foreign import ccall "airy.h gsl_sf_airy_Bi_scaled" gsl_sf_airy_Bi_scaled :: Double -> Gsl_mode_t -> Double | ||
87 | |||
88 | -- | wrapper for int gsl_sf_airy_Ai_deriv_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
89 | airy_Ai_deriv_e :: Double -> Precision -> (Double,Double) | ||
90 | airy_Ai_deriv_e x mode = createSFR "airy_Ai_deriv_e" $ gsl_sf_airy_Ai_deriv_e x (precCode mode) | ||
91 | foreign import ccall "airy.h gsl_sf_airy_Ai_deriv_e" gsl_sf_airy_Ai_deriv_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
92 | |||
93 | -- | wrapper for double gsl_sf_airy_Ai_deriv(double x,gsl_mode_t mode); | ||
94 | airy_Ai_deriv :: Double -> Precision -> Double | ||
95 | airy_Ai_deriv x mode = gsl_sf_airy_Ai_deriv x (precCode mode) | ||
96 | foreign import ccall "airy.h gsl_sf_airy_Ai_deriv" gsl_sf_airy_Ai_deriv :: Double -> Gsl_mode_t -> Double | ||
97 | |||
98 | -- | wrapper for int gsl_sf_airy_Bi_deriv_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
99 | airy_Bi_deriv_e :: Double -> Precision -> (Double,Double) | ||
100 | airy_Bi_deriv_e x mode = createSFR "airy_Bi_deriv_e" $ gsl_sf_airy_Bi_deriv_e x (precCode mode) | ||
101 | foreign import ccall "airy.h gsl_sf_airy_Bi_deriv_e" gsl_sf_airy_Bi_deriv_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
102 | |||
103 | -- | wrapper for double gsl_sf_airy_Bi_deriv(double x,gsl_mode_t mode); | ||
104 | airy_Bi_deriv :: Double -> Precision -> Double | ||
105 | airy_Bi_deriv x mode = gsl_sf_airy_Bi_deriv x (precCode mode) | ||
106 | foreign import ccall "airy.h gsl_sf_airy_Bi_deriv" gsl_sf_airy_Bi_deriv :: Double -> Gsl_mode_t -> Double | ||
107 | |||
108 | -- | wrapper for int gsl_sf_airy_Ai_deriv_scaled_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
109 | airy_Ai_deriv_scaled_e :: Double -> Precision -> (Double,Double) | ||
110 | airy_Ai_deriv_scaled_e x mode = createSFR "airy_Ai_deriv_scaled_e" $ gsl_sf_airy_Ai_deriv_scaled_e x (precCode mode) | ||
111 | foreign import ccall "airy.h gsl_sf_airy_Ai_deriv_scaled_e" gsl_sf_airy_Ai_deriv_scaled_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
112 | |||
113 | -- | wrapper for double gsl_sf_airy_Ai_deriv_scaled(double x,gsl_mode_t mode); | ||
114 | airy_Ai_deriv_scaled :: Double -> Precision -> Double | ||
115 | airy_Ai_deriv_scaled x mode = gsl_sf_airy_Ai_deriv_scaled x (precCode mode) | ||
116 | foreign import ccall "airy.h gsl_sf_airy_Ai_deriv_scaled" gsl_sf_airy_Ai_deriv_scaled :: Double -> Gsl_mode_t -> Double | ||
117 | |||
118 | -- | wrapper for int gsl_sf_airy_Bi_deriv_scaled_e(double x,gsl_mode_t mode,gsl_sf_result* result); | ||
119 | airy_Bi_deriv_scaled_e :: Double -> Precision -> (Double,Double) | ||
120 | airy_Bi_deriv_scaled_e x mode = createSFR "airy_Bi_deriv_scaled_e" $ gsl_sf_airy_Bi_deriv_scaled_e x (precCode mode) | ||
121 | foreign import ccall "airy.h gsl_sf_airy_Bi_deriv_scaled_e" gsl_sf_airy_Bi_deriv_scaled_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
122 | |||
123 | -- | wrapper for double gsl_sf_airy_Bi_deriv_scaled(double x,gsl_mode_t mode); | ||
124 | airy_Bi_deriv_scaled :: Double -> Precision -> Double | ||
125 | airy_Bi_deriv_scaled x mode = gsl_sf_airy_Bi_deriv_scaled x (precCode mode) | ||
126 | foreign import ccall "airy.h gsl_sf_airy_Bi_deriv_scaled" gsl_sf_airy_Bi_deriv_scaled :: Double -> Gsl_mode_t -> Double | ||
127 | |||
128 | -- | wrapper for int gsl_sf_airy_zero_Ai_e(int s,gsl_sf_result* result); | ||
129 | airy_zero_Ai_e :: Int -> (Double,Double) | ||
130 | airy_zero_Ai_e s = createSFR "airy_zero_Ai_e" $ gsl_sf_airy_zero_Ai_e s | ||
131 | foreign import ccall "airy.h gsl_sf_airy_zero_Ai_e" gsl_sf_airy_zero_Ai_e :: Int -> Ptr Double -> IO(Int) | ||
132 | |||
133 | -- | wrapper for double gsl_sf_airy_zero_Ai(int s); | ||
134 | airy_zero_Ai :: Int -> Double | ||
135 | airy_zero_Ai = gsl_sf_airy_zero_Ai | ||
136 | foreign import ccall "airy.h gsl_sf_airy_zero_Ai" gsl_sf_airy_zero_Ai :: Int -> Double | ||
137 | |||
138 | -- | wrapper for int gsl_sf_airy_zero_Bi_e(int s,gsl_sf_result* result); | ||
139 | airy_zero_Bi_e :: Int -> (Double,Double) | ||
140 | airy_zero_Bi_e s = createSFR "airy_zero_Bi_e" $ gsl_sf_airy_zero_Bi_e s | ||
141 | foreign import ccall "airy.h gsl_sf_airy_zero_Bi_e" gsl_sf_airy_zero_Bi_e :: Int -> Ptr Double -> IO(Int) | ||
142 | |||
143 | -- | wrapper for double gsl_sf_airy_zero_Bi(int s); | ||
144 | airy_zero_Bi :: Int -> Double | ||
145 | airy_zero_Bi = gsl_sf_airy_zero_Bi | ||
146 | foreign import ccall "airy.h gsl_sf_airy_zero_Bi" gsl_sf_airy_zero_Bi :: Int -> Double | ||
147 | |||
148 | -- | wrapper for int gsl_sf_airy_zero_Ai_deriv_e(int s,gsl_sf_result* result); | ||
149 | airy_zero_Ai_deriv_e :: Int -> (Double,Double) | ||
150 | airy_zero_Ai_deriv_e s = createSFR "airy_zero_Ai_deriv_e" $ gsl_sf_airy_zero_Ai_deriv_e s | ||
151 | foreign import ccall "airy.h gsl_sf_airy_zero_Ai_deriv_e" gsl_sf_airy_zero_Ai_deriv_e :: Int -> Ptr Double -> IO(Int) | ||
152 | |||
153 | -- | wrapper for double gsl_sf_airy_zero_Ai_deriv(int s); | ||
154 | airy_zero_Ai_deriv :: Int -> Double | ||
155 | airy_zero_Ai_deriv = gsl_sf_airy_zero_Ai_deriv | ||
156 | foreign import ccall "airy.h gsl_sf_airy_zero_Ai_deriv" gsl_sf_airy_zero_Ai_deriv :: Int -> Double | ||
157 | |||
158 | -- | wrapper for int gsl_sf_airy_zero_Bi_deriv_e(int s,gsl_sf_result* result); | ||
159 | airy_zero_Bi_deriv_e :: Int -> (Double,Double) | ||
160 | airy_zero_Bi_deriv_e s = createSFR "airy_zero_Bi_deriv_e" $ gsl_sf_airy_zero_Bi_deriv_e s | ||
161 | foreign import ccall "airy.h gsl_sf_airy_zero_Bi_deriv_e" gsl_sf_airy_zero_Bi_deriv_e :: Int -> Ptr Double -> IO(Int) | ||
162 | |||
163 | -- | wrapper for double gsl_sf_airy_zero_Bi_deriv(int s); | ||
164 | airy_zero_Bi_deriv :: Int -> Double | ||
165 | airy_zero_Bi_deriv = gsl_sf_airy_zero_Bi_deriv | ||
166 | foreign import ccall "airy.h gsl_sf_airy_zero_Bi_deriv" gsl_sf_airy_zero_Bi_deriv :: Int -> Double | ||
diff --git a/lib/GSL/Special/Bessel.hs b/lib/GSL/Special/Bessel.hs deleted file mode 100644 index 4a96926..0000000 --- a/lib/GSL/Special/Bessel.hs +++ /dev/null | |||
@@ -1,809 +0,0 @@ | |||
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.google.com/search?q=gsl_sf_bessel.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
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 | -- | ||
113 | -- <http://www.google.com/search?q=gsl_sf_bessel_J0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
114 | bessel_J0_e :: Double -> (Double,Double) | ||
115 | bessel_J0_e x = createSFR "bessel_J0_e" $ gsl_sf_bessel_J0_e x | ||
116 | foreign import ccall "bessel.h gsl_sf_bessel_J0_e" gsl_sf_bessel_J0_e :: Double -> Ptr Double -> IO(Int) | ||
117 | |||
118 | -- | wrapper for double gsl_sf_bessel_J0(double x); | ||
119 | -- | ||
120 | -- <http://www.google.com/search?q=gsl_sf_bessel_J0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
121 | bessel_J0 :: Double -> Double | ||
122 | bessel_J0 = gsl_sf_bessel_J0 | ||
123 | foreign import ccall "bessel.h gsl_sf_bessel_J0" gsl_sf_bessel_J0 :: Double -> Double | ||
124 | |||
125 | -- | wrapper for int gsl_sf_bessel_J1_e(double x,gsl_sf_result* result); | ||
126 | -- | ||
127 | -- <http://www.google.com/search?q=gsl_sf_bessel_J1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
128 | bessel_J1_e :: Double -> (Double,Double) | ||
129 | bessel_J1_e x = createSFR "bessel_J1_e" $ gsl_sf_bessel_J1_e x | ||
130 | foreign import ccall "bessel.h gsl_sf_bessel_J1_e" gsl_sf_bessel_J1_e :: Double -> Ptr Double -> IO(Int) | ||
131 | |||
132 | -- | wrapper for double gsl_sf_bessel_J1(double x); | ||
133 | -- | ||
134 | -- <http://www.google.com/search?q=gsl_sf_bessel_J1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
135 | bessel_J1 :: Double -> Double | ||
136 | bessel_J1 = gsl_sf_bessel_J1 | ||
137 | foreign import ccall "bessel.h gsl_sf_bessel_J1" gsl_sf_bessel_J1 :: Double -> Double | ||
138 | |||
139 | -- | wrapper for int gsl_sf_bessel_Jn_e(int n,double x,gsl_sf_result* result); | ||
140 | -- | ||
141 | -- <http://www.google.com/search?q=gsl_sf_bessel_Jn_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
142 | bessel_Jn_e :: Int -> Double -> (Double,Double) | ||
143 | bessel_Jn_e n x = createSFR "bessel_Jn_e" $ gsl_sf_bessel_Jn_e n x | ||
144 | foreign import ccall "bessel.h gsl_sf_bessel_Jn_e" gsl_sf_bessel_Jn_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
145 | |||
146 | -- | wrapper for double gsl_sf_bessel_Jn(int n,double x); | ||
147 | -- | ||
148 | -- <http://www.google.com/search?q=gsl_sf_bessel_Jn&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
149 | bessel_Jn :: Int -> Double -> Double | ||
150 | bessel_Jn = gsl_sf_bessel_Jn | ||
151 | foreign import ccall "bessel.h gsl_sf_bessel_Jn" gsl_sf_bessel_Jn :: Int -> Double -> Double | ||
152 | |||
153 | -- | wrapper for int gsl_sf_bessel_Jn_array(int nmin,int nmax,double x,double* result_array); | ||
154 | -- | ||
155 | -- <http://www.google.com/search?q=gsl_sf_bessel_Jn_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
156 | bessel_Jn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
157 | bessel_Jn_array = gsl_sf_bessel_Jn_array | ||
158 | foreign import ccall "bessel.h gsl_sf_bessel_Jn_array" gsl_sf_bessel_Jn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
159 | |||
160 | -- | wrapper for int gsl_sf_bessel_Y0_e(double x,gsl_sf_result* result); | ||
161 | -- | ||
162 | -- <http://www.google.com/search?q=gsl_sf_bessel_Y0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
163 | bessel_Y0_e :: Double -> (Double,Double) | ||
164 | bessel_Y0_e x = createSFR "bessel_Y0_e" $ gsl_sf_bessel_Y0_e x | ||
165 | foreign import ccall "bessel.h gsl_sf_bessel_Y0_e" gsl_sf_bessel_Y0_e :: Double -> Ptr Double -> IO(Int) | ||
166 | |||
167 | -- | wrapper for double gsl_sf_bessel_Y0(double x); | ||
168 | -- | ||
169 | -- <http://www.google.com/search?q=gsl_sf_bessel_Y0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
170 | bessel_Y0 :: Double -> Double | ||
171 | bessel_Y0 = gsl_sf_bessel_Y0 | ||
172 | foreign import ccall "bessel.h gsl_sf_bessel_Y0" gsl_sf_bessel_Y0 :: Double -> Double | ||
173 | |||
174 | -- | wrapper for int gsl_sf_bessel_Y1_e(double x,gsl_sf_result* result); | ||
175 | -- | ||
176 | -- <http://www.google.com/search?q=gsl_sf_bessel_Y1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
177 | bessel_Y1_e :: Double -> (Double,Double) | ||
178 | bessel_Y1_e x = createSFR "bessel_Y1_e" $ gsl_sf_bessel_Y1_e x | ||
179 | foreign import ccall "bessel.h gsl_sf_bessel_Y1_e" gsl_sf_bessel_Y1_e :: Double -> Ptr Double -> IO(Int) | ||
180 | |||
181 | -- | wrapper for double gsl_sf_bessel_Y1(double x); | ||
182 | -- | ||
183 | -- <http://www.google.com/search?q=gsl_sf_bessel_Y1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
184 | bessel_Y1 :: Double -> Double | ||
185 | bessel_Y1 = gsl_sf_bessel_Y1 | ||
186 | foreign import ccall "bessel.h gsl_sf_bessel_Y1" gsl_sf_bessel_Y1 :: Double -> Double | ||
187 | |||
188 | -- | wrapper for int gsl_sf_bessel_Yn_e(int n,double x,gsl_sf_result* result); | ||
189 | -- | ||
190 | -- <http://www.google.com/search?q=gsl_sf_bessel_Yn_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
191 | bessel_Yn_e :: Int -> Double -> (Double,Double) | ||
192 | bessel_Yn_e n x = createSFR "bessel_Yn_e" $ gsl_sf_bessel_Yn_e n x | ||
193 | foreign import ccall "bessel.h gsl_sf_bessel_Yn_e" gsl_sf_bessel_Yn_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
194 | |||
195 | -- | wrapper for double gsl_sf_bessel_Yn(int n,double x); | ||
196 | -- | ||
197 | -- <http://www.google.com/search?q=gsl_sf_bessel_Yn&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
198 | bessel_Yn :: Int -> Double -> Double | ||
199 | bessel_Yn = gsl_sf_bessel_Yn | ||
200 | foreign import ccall "bessel.h gsl_sf_bessel_Yn" gsl_sf_bessel_Yn :: Int -> Double -> Double | ||
201 | |||
202 | -- | wrapper for int gsl_sf_bessel_Yn_array(int nmin,int nmax,double x,double* result_array); | ||
203 | -- | ||
204 | -- <http://www.google.com/search?q=gsl_sf_bessel_Yn_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
205 | bessel_Yn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
206 | bessel_Yn_array = gsl_sf_bessel_Yn_array | ||
207 | foreign import ccall "bessel.h gsl_sf_bessel_Yn_array" gsl_sf_bessel_Yn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
208 | |||
209 | -- | wrapper for int gsl_sf_bessel_I0_e(double x,gsl_sf_result* result); | ||
210 | -- | ||
211 | -- <http://www.google.com/search?q=gsl_sf_bessel_I0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
212 | bessel_I0_e :: Double -> (Double,Double) | ||
213 | bessel_I0_e x = createSFR "bessel_I0_e" $ gsl_sf_bessel_I0_e x | ||
214 | foreign import ccall "bessel.h gsl_sf_bessel_I0_e" gsl_sf_bessel_I0_e :: Double -> Ptr Double -> IO(Int) | ||
215 | |||
216 | -- | wrapper for double gsl_sf_bessel_I0(double x); | ||
217 | -- | ||
218 | -- <http://www.google.com/search?q=gsl_sf_bessel_I0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
219 | bessel_I0 :: Double -> Double | ||
220 | bessel_I0 = gsl_sf_bessel_I0 | ||
221 | foreign import ccall "bessel.h gsl_sf_bessel_I0" gsl_sf_bessel_I0 :: Double -> Double | ||
222 | |||
223 | -- | wrapper for int gsl_sf_bessel_I1_e(double x,gsl_sf_result* result); | ||
224 | -- | ||
225 | -- <http://www.google.com/search?q=gsl_sf_bessel_I1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
226 | bessel_I1_e :: Double -> (Double,Double) | ||
227 | bessel_I1_e x = createSFR "bessel_I1_e" $ gsl_sf_bessel_I1_e x | ||
228 | foreign import ccall "bessel.h gsl_sf_bessel_I1_e" gsl_sf_bessel_I1_e :: Double -> Ptr Double -> IO(Int) | ||
229 | |||
230 | -- | wrapper for double gsl_sf_bessel_I1(double x); | ||
231 | -- | ||
232 | -- <http://www.google.com/search?q=gsl_sf_bessel_I1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
233 | bessel_I1 :: Double -> Double | ||
234 | bessel_I1 = gsl_sf_bessel_I1 | ||
235 | foreign import ccall "bessel.h gsl_sf_bessel_I1" gsl_sf_bessel_I1 :: Double -> Double | ||
236 | |||
237 | -- | wrapper for int gsl_sf_bessel_In_e(int n,double x,gsl_sf_result* result); | ||
238 | -- | ||
239 | -- <http://www.google.com/search?q=gsl_sf_bessel_In_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
240 | bessel_In_e :: Int -> Double -> (Double,Double) | ||
241 | bessel_In_e n x = createSFR "bessel_In_e" $ gsl_sf_bessel_In_e n x | ||
242 | foreign import ccall "bessel.h gsl_sf_bessel_In_e" gsl_sf_bessel_In_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
243 | |||
244 | -- | wrapper for double gsl_sf_bessel_In(int n,double x); | ||
245 | -- | ||
246 | -- <http://www.google.com/search?q=gsl_sf_bessel_In&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
247 | bessel_In :: Int -> Double -> Double | ||
248 | bessel_In = gsl_sf_bessel_In | ||
249 | foreign import ccall "bessel.h gsl_sf_bessel_In" gsl_sf_bessel_In :: Int -> Double -> Double | ||
250 | |||
251 | -- | wrapper for int gsl_sf_bessel_In_array(int nmin,int nmax,double x,double* result_array); | ||
252 | -- | ||
253 | -- <http://www.google.com/search?q=gsl_sf_bessel_In_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
254 | bessel_In_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
255 | bessel_In_array = gsl_sf_bessel_In_array | ||
256 | foreign import ccall "bessel.h gsl_sf_bessel_In_array" gsl_sf_bessel_In_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
257 | |||
258 | -- | wrapper for int gsl_sf_bessel_I0_scaled_e(double x,gsl_sf_result* result); | ||
259 | -- | ||
260 | -- <http://www.google.com/search?q=gsl_sf_bessel_I0_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
261 | bessel_I0_scaled_e :: Double -> (Double,Double) | ||
262 | bessel_I0_scaled_e x = createSFR "bessel_I0_scaled_e" $ gsl_sf_bessel_I0_scaled_e x | ||
263 | foreign import ccall "bessel.h gsl_sf_bessel_I0_scaled_e" gsl_sf_bessel_I0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
264 | |||
265 | -- | wrapper for double gsl_sf_bessel_I0_scaled(double x); | ||
266 | -- | ||
267 | -- <http://www.google.com/search?q=gsl_sf_bessel_I0_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
268 | bessel_I0_scaled :: Double -> Double | ||
269 | bessel_I0_scaled = gsl_sf_bessel_I0_scaled | ||
270 | foreign import ccall "bessel.h gsl_sf_bessel_I0_scaled" gsl_sf_bessel_I0_scaled :: Double -> Double | ||
271 | |||
272 | -- | wrapper for int gsl_sf_bessel_I1_scaled_e(double x,gsl_sf_result* result); | ||
273 | -- | ||
274 | -- <http://www.google.com/search?q=gsl_sf_bessel_I1_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
275 | bessel_I1_scaled_e :: Double -> (Double,Double) | ||
276 | bessel_I1_scaled_e x = createSFR "bessel_I1_scaled_e" $ gsl_sf_bessel_I1_scaled_e x | ||
277 | foreign import ccall "bessel.h gsl_sf_bessel_I1_scaled_e" gsl_sf_bessel_I1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
278 | |||
279 | -- | wrapper for double gsl_sf_bessel_I1_scaled(double x); | ||
280 | -- | ||
281 | -- <http://www.google.com/search?q=gsl_sf_bessel_I1_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
282 | bessel_I1_scaled :: Double -> Double | ||
283 | bessel_I1_scaled = gsl_sf_bessel_I1_scaled | ||
284 | foreign import ccall "bessel.h gsl_sf_bessel_I1_scaled" gsl_sf_bessel_I1_scaled :: Double -> Double | ||
285 | |||
286 | -- | wrapper for int gsl_sf_bessel_In_scaled_e(int n,double x,gsl_sf_result* result); | ||
287 | -- | ||
288 | -- <http://www.google.com/search?q=gsl_sf_bessel_In_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
289 | bessel_In_scaled_e :: Int -> Double -> (Double,Double) | ||
290 | bessel_In_scaled_e n x = createSFR "bessel_In_scaled_e" $ gsl_sf_bessel_In_scaled_e n x | ||
291 | foreign import ccall "bessel.h gsl_sf_bessel_In_scaled_e" gsl_sf_bessel_In_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
292 | |||
293 | -- | wrapper for double gsl_sf_bessel_In_scaled(int n,double x); | ||
294 | -- | ||
295 | -- <http://www.google.com/search?q=gsl_sf_bessel_In_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
296 | bessel_In_scaled :: Int -> Double -> Double | ||
297 | bessel_In_scaled = gsl_sf_bessel_In_scaled | ||
298 | foreign import ccall "bessel.h gsl_sf_bessel_In_scaled" gsl_sf_bessel_In_scaled :: Int -> Double -> Double | ||
299 | |||
300 | -- | wrapper for int gsl_sf_bessel_In_scaled_array(int nmin,int nmax,double x,double* result_array); | ||
301 | -- | ||
302 | -- <http://www.google.com/search?q=gsl_sf_bessel_In_scaled_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
303 | bessel_In_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
304 | bessel_In_scaled_array = gsl_sf_bessel_In_scaled_array | ||
305 | foreign import ccall "bessel.h gsl_sf_bessel_In_scaled_array" gsl_sf_bessel_In_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
306 | |||
307 | -- | wrapper for int gsl_sf_bessel_K0_e(double x,gsl_sf_result* result); | ||
308 | -- | ||
309 | -- <http://www.google.com/search?q=gsl_sf_bessel_K0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
310 | bessel_K0_e :: Double -> (Double,Double) | ||
311 | bessel_K0_e x = createSFR "bessel_K0_e" $ gsl_sf_bessel_K0_e x | ||
312 | foreign import ccall "bessel.h gsl_sf_bessel_K0_e" gsl_sf_bessel_K0_e :: Double -> Ptr Double -> IO(Int) | ||
313 | |||
314 | -- | wrapper for double gsl_sf_bessel_K0(double x); | ||
315 | -- | ||
316 | -- <http://www.google.com/search?q=gsl_sf_bessel_K0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
317 | bessel_K0 :: Double -> Double | ||
318 | bessel_K0 = gsl_sf_bessel_K0 | ||
319 | foreign import ccall "bessel.h gsl_sf_bessel_K0" gsl_sf_bessel_K0 :: Double -> Double | ||
320 | |||
321 | -- | wrapper for int gsl_sf_bessel_K1_e(double x,gsl_sf_result* result); | ||
322 | -- | ||
323 | -- <http://www.google.com/search?q=gsl_sf_bessel_K1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
324 | bessel_K1_e :: Double -> (Double,Double) | ||
325 | bessel_K1_e x = createSFR "bessel_K1_e" $ gsl_sf_bessel_K1_e x | ||
326 | foreign import ccall "bessel.h gsl_sf_bessel_K1_e" gsl_sf_bessel_K1_e :: Double -> Ptr Double -> IO(Int) | ||
327 | |||
328 | -- | wrapper for double gsl_sf_bessel_K1(double x); | ||
329 | -- | ||
330 | -- <http://www.google.com/search?q=gsl_sf_bessel_K1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
331 | bessel_K1 :: Double -> Double | ||
332 | bessel_K1 = gsl_sf_bessel_K1 | ||
333 | foreign import ccall "bessel.h gsl_sf_bessel_K1" gsl_sf_bessel_K1 :: Double -> Double | ||
334 | |||
335 | -- | wrapper for int gsl_sf_bessel_Kn_e(int n,double x,gsl_sf_result* result); | ||
336 | -- | ||
337 | -- <http://www.google.com/search?q=gsl_sf_bessel_Kn_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
338 | bessel_Kn_e :: Int -> Double -> (Double,Double) | ||
339 | bessel_Kn_e n x = createSFR "bessel_Kn_e" $ gsl_sf_bessel_Kn_e n x | ||
340 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_e" gsl_sf_bessel_Kn_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
341 | |||
342 | -- | wrapper for double gsl_sf_bessel_Kn(int n,double x); | ||
343 | -- | ||
344 | -- <http://www.google.com/search?q=gsl_sf_bessel_Kn&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
345 | bessel_Kn :: Int -> Double -> Double | ||
346 | bessel_Kn = gsl_sf_bessel_Kn | ||
347 | foreign import ccall "bessel.h gsl_sf_bessel_Kn" gsl_sf_bessel_Kn :: Int -> Double -> Double | ||
348 | |||
349 | -- | wrapper for int gsl_sf_bessel_Kn_array(int nmin,int nmax,double x,double* result_array); | ||
350 | -- | ||
351 | -- <http://www.google.com/search?q=gsl_sf_bessel_Kn_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
352 | bessel_Kn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
353 | bessel_Kn_array = gsl_sf_bessel_Kn_array | ||
354 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_array" gsl_sf_bessel_Kn_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
355 | |||
356 | -- | wrapper for int gsl_sf_bessel_K0_scaled_e(double x,gsl_sf_result* result); | ||
357 | -- | ||
358 | -- <http://www.google.com/search?q=gsl_sf_bessel_K0_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
359 | bessel_K0_scaled_e :: Double -> (Double,Double) | ||
360 | bessel_K0_scaled_e x = createSFR "bessel_K0_scaled_e" $ gsl_sf_bessel_K0_scaled_e x | ||
361 | foreign import ccall "bessel.h gsl_sf_bessel_K0_scaled_e" gsl_sf_bessel_K0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
362 | |||
363 | -- | wrapper for double gsl_sf_bessel_K0_scaled(double x); | ||
364 | -- | ||
365 | -- <http://www.google.com/search?q=gsl_sf_bessel_K0_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
366 | bessel_K0_scaled :: Double -> Double | ||
367 | bessel_K0_scaled = gsl_sf_bessel_K0_scaled | ||
368 | foreign import ccall "bessel.h gsl_sf_bessel_K0_scaled" gsl_sf_bessel_K0_scaled :: Double -> Double | ||
369 | |||
370 | -- | wrapper for int gsl_sf_bessel_K1_scaled_e(double x,gsl_sf_result* result); | ||
371 | -- | ||
372 | -- <http://www.google.com/search?q=gsl_sf_bessel_K1_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
373 | bessel_K1_scaled_e :: Double -> (Double,Double) | ||
374 | bessel_K1_scaled_e x = createSFR "bessel_K1_scaled_e" $ gsl_sf_bessel_K1_scaled_e x | ||
375 | foreign import ccall "bessel.h gsl_sf_bessel_K1_scaled_e" gsl_sf_bessel_K1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
376 | |||
377 | -- | wrapper for double gsl_sf_bessel_K1_scaled(double x); | ||
378 | -- | ||
379 | -- <http://www.google.com/search?q=gsl_sf_bessel_K1_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
380 | bessel_K1_scaled :: Double -> Double | ||
381 | bessel_K1_scaled = gsl_sf_bessel_K1_scaled | ||
382 | foreign import ccall "bessel.h gsl_sf_bessel_K1_scaled" gsl_sf_bessel_K1_scaled :: Double -> Double | ||
383 | |||
384 | -- | wrapper for int gsl_sf_bessel_Kn_scaled_e(int n,double x,gsl_sf_result* result); | ||
385 | -- | ||
386 | -- <http://www.google.com/search?q=gsl_sf_bessel_Kn_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
387 | bessel_Kn_scaled_e :: Int -> Double -> (Double,Double) | ||
388 | bessel_Kn_scaled_e n x = createSFR "bessel_Kn_scaled_e" $ gsl_sf_bessel_Kn_scaled_e n x | ||
389 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_scaled_e" gsl_sf_bessel_Kn_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
390 | |||
391 | -- | wrapper for double gsl_sf_bessel_Kn_scaled(int n,double x); | ||
392 | -- | ||
393 | -- <http://www.google.com/search?q=gsl_sf_bessel_Kn_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
394 | bessel_Kn_scaled :: Int -> Double -> Double | ||
395 | bessel_Kn_scaled = gsl_sf_bessel_Kn_scaled | ||
396 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_scaled" gsl_sf_bessel_Kn_scaled :: Int -> Double -> Double | ||
397 | |||
398 | -- | wrapper for int gsl_sf_bessel_Kn_scaled_array(int nmin,int nmax,double x,double* result_array); | ||
399 | -- | ||
400 | -- <http://www.google.com/search?q=gsl_sf_bessel_Kn_scaled_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
401 | bessel_Kn_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
402 | bessel_Kn_scaled_array = gsl_sf_bessel_Kn_scaled_array | ||
403 | foreign import ccall "bessel.h gsl_sf_bessel_Kn_scaled_array" gsl_sf_bessel_Kn_scaled_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
404 | |||
405 | -- | wrapper for int gsl_sf_bessel_j0_e(double x,gsl_sf_result* result); | ||
406 | -- | ||
407 | -- <http://www.google.com/search?q=gsl_sf_bessel_j0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
408 | bessel_j0_e :: Double -> (Double,Double) | ||
409 | bessel_j0_e x = createSFR "bessel_j0_e" $ gsl_sf_bessel_j0_e x | ||
410 | foreign import ccall "bessel.h gsl_sf_bessel_j0_e" gsl_sf_bessel_j0_e :: Double -> Ptr Double -> IO(Int) | ||
411 | |||
412 | -- | wrapper for double gsl_sf_bessel_j0(double x); | ||
413 | -- | ||
414 | -- <http://www.google.com/search?q=gsl_sf_bessel_j0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
415 | bessel_j0 :: Double -> Double | ||
416 | bessel_j0 = gsl_sf_bessel_j0 | ||
417 | foreign import ccall "bessel.h gsl_sf_bessel_j0" gsl_sf_bessel_j0 :: Double -> Double | ||
418 | |||
419 | -- | wrapper for int gsl_sf_bessel_j1_e(double x,gsl_sf_result* result); | ||
420 | -- | ||
421 | -- <http://www.google.com/search?q=gsl_sf_bessel_j1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
422 | bessel_j1_e :: Double -> (Double,Double) | ||
423 | bessel_j1_e x = createSFR "bessel_j1_e" $ gsl_sf_bessel_j1_e x | ||
424 | foreign import ccall "bessel.h gsl_sf_bessel_j1_e" gsl_sf_bessel_j1_e :: Double -> Ptr Double -> IO(Int) | ||
425 | |||
426 | -- | wrapper for double gsl_sf_bessel_j1(double x); | ||
427 | -- | ||
428 | -- <http://www.google.com/search?q=gsl_sf_bessel_j1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
429 | bessel_j1 :: Double -> Double | ||
430 | bessel_j1 = gsl_sf_bessel_j1 | ||
431 | foreign import ccall "bessel.h gsl_sf_bessel_j1" gsl_sf_bessel_j1 :: Double -> Double | ||
432 | |||
433 | -- | wrapper for int gsl_sf_bessel_j2_e(double x,gsl_sf_result* result); | ||
434 | -- | ||
435 | -- <http://www.google.com/search?q=gsl_sf_bessel_j2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
436 | bessel_j2_e :: Double -> (Double,Double) | ||
437 | bessel_j2_e x = createSFR "bessel_j2_e" $ gsl_sf_bessel_j2_e x | ||
438 | foreign import ccall "bessel.h gsl_sf_bessel_j2_e" gsl_sf_bessel_j2_e :: Double -> Ptr Double -> IO(Int) | ||
439 | |||
440 | -- | wrapper for double gsl_sf_bessel_j2(double x); | ||
441 | -- | ||
442 | -- <http://www.google.com/search?q=gsl_sf_bessel_j2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
443 | bessel_j2 :: Double -> Double | ||
444 | bessel_j2 = gsl_sf_bessel_j2 | ||
445 | foreign import ccall "bessel.h gsl_sf_bessel_j2" gsl_sf_bessel_j2 :: Double -> Double | ||
446 | |||
447 | -- | wrapper for int gsl_sf_bessel_jl_e(int l,double x,gsl_sf_result* result); | ||
448 | -- | ||
449 | -- <http://www.google.com/search?q=gsl_sf_bessel_jl_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
450 | bessel_jl_e :: Int -> Double -> (Double,Double) | ||
451 | bessel_jl_e l x = createSFR "bessel_jl_e" $ gsl_sf_bessel_jl_e l x | ||
452 | foreign import ccall "bessel.h gsl_sf_bessel_jl_e" gsl_sf_bessel_jl_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
453 | |||
454 | -- | wrapper for double gsl_sf_bessel_jl(int l,double x); | ||
455 | -- | ||
456 | -- <http://www.google.com/search?q=gsl_sf_bessel_jl&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
457 | bessel_jl :: Int -> Double -> Double | ||
458 | bessel_jl = gsl_sf_bessel_jl | ||
459 | foreign import ccall "bessel.h gsl_sf_bessel_jl" gsl_sf_bessel_jl :: Int -> Double -> Double | ||
460 | |||
461 | -- | wrapper for int gsl_sf_bessel_jl_array(int lmax,double x,double* result_array); | ||
462 | -- | ||
463 | -- <http://www.google.com/search?q=gsl_sf_bessel_jl_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
464 | bessel_jl_array :: Int -> Double -> Ptr Double -> Int | ||
465 | bessel_jl_array = gsl_sf_bessel_jl_array | ||
466 | foreign import ccall "bessel.h gsl_sf_bessel_jl_array" gsl_sf_bessel_jl_array :: Int -> Double -> Ptr Double -> Int | ||
467 | |||
468 | -- | wrapper for int gsl_sf_bessel_jl_steed_array(int lmax,double x,double* jl_x_array); | ||
469 | -- | ||
470 | -- <http://www.google.com/search?q=gsl_sf_bessel_jl_steed_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
471 | bessel_jl_steed_array :: Int -> Double -> Ptr Double -> Int | ||
472 | bessel_jl_steed_array = gsl_sf_bessel_jl_steed_array | ||
473 | foreign import ccall "bessel.h gsl_sf_bessel_jl_steed_array" gsl_sf_bessel_jl_steed_array :: Int -> Double -> Ptr Double -> Int | ||
474 | |||
475 | -- | wrapper for int gsl_sf_bessel_y0_e(double x,gsl_sf_result* result); | ||
476 | -- | ||
477 | -- <http://www.google.com/search?q=gsl_sf_bessel_y0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
478 | bessel_y0_e :: Double -> (Double,Double) | ||
479 | bessel_y0_e x = createSFR "bessel_y0_e" $ gsl_sf_bessel_y0_e x | ||
480 | foreign import ccall "bessel.h gsl_sf_bessel_y0_e" gsl_sf_bessel_y0_e :: Double -> Ptr Double -> IO(Int) | ||
481 | |||
482 | -- | wrapper for double gsl_sf_bessel_y0(double x); | ||
483 | -- | ||
484 | -- <http://www.google.com/search?q=gsl_sf_bessel_y0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
485 | bessel_y0 :: Double -> Double | ||
486 | bessel_y0 = gsl_sf_bessel_y0 | ||
487 | foreign import ccall "bessel.h gsl_sf_bessel_y0" gsl_sf_bessel_y0 :: Double -> Double | ||
488 | |||
489 | -- | wrapper for int gsl_sf_bessel_y1_e(double x,gsl_sf_result* result); | ||
490 | -- | ||
491 | -- <http://www.google.com/search?q=gsl_sf_bessel_y1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
492 | bessel_y1_e :: Double -> (Double,Double) | ||
493 | bessel_y1_e x = createSFR "bessel_y1_e" $ gsl_sf_bessel_y1_e x | ||
494 | foreign import ccall "bessel.h gsl_sf_bessel_y1_e" gsl_sf_bessel_y1_e :: Double -> Ptr Double -> IO(Int) | ||
495 | |||
496 | -- | wrapper for double gsl_sf_bessel_y1(double x); | ||
497 | -- | ||
498 | -- <http://www.google.com/search?q=gsl_sf_bessel_y1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
499 | bessel_y1 :: Double -> Double | ||
500 | bessel_y1 = gsl_sf_bessel_y1 | ||
501 | foreign import ccall "bessel.h gsl_sf_bessel_y1" gsl_sf_bessel_y1 :: Double -> Double | ||
502 | |||
503 | -- | wrapper for int gsl_sf_bessel_y2_e(double x,gsl_sf_result* result); | ||
504 | -- | ||
505 | -- <http://www.google.com/search?q=gsl_sf_bessel_y2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
506 | bessel_y2_e :: Double -> (Double,Double) | ||
507 | bessel_y2_e x = createSFR "bessel_y2_e" $ gsl_sf_bessel_y2_e x | ||
508 | foreign import ccall "bessel.h gsl_sf_bessel_y2_e" gsl_sf_bessel_y2_e :: Double -> Ptr Double -> IO(Int) | ||
509 | |||
510 | -- | wrapper for double gsl_sf_bessel_y2(double x); | ||
511 | -- | ||
512 | -- <http://www.google.com/search?q=gsl_sf_bessel_y2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
513 | bessel_y2 :: Double -> Double | ||
514 | bessel_y2 = gsl_sf_bessel_y2 | ||
515 | foreign import ccall "bessel.h gsl_sf_bessel_y2" gsl_sf_bessel_y2 :: Double -> Double | ||
516 | |||
517 | -- | wrapper for int gsl_sf_bessel_yl_e(int l,double x,gsl_sf_result* result); | ||
518 | -- | ||
519 | -- <http://www.google.com/search?q=gsl_sf_bessel_yl_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
520 | bessel_yl_e :: Int -> Double -> (Double,Double) | ||
521 | bessel_yl_e l x = createSFR "bessel_yl_e" $ gsl_sf_bessel_yl_e l x | ||
522 | foreign import ccall "bessel.h gsl_sf_bessel_yl_e" gsl_sf_bessel_yl_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
523 | |||
524 | -- | wrapper for double gsl_sf_bessel_yl(int l,double x); | ||
525 | -- | ||
526 | -- <http://www.google.com/search?q=gsl_sf_bessel_yl&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
527 | bessel_yl :: Int -> Double -> Double | ||
528 | bessel_yl = gsl_sf_bessel_yl | ||
529 | foreign import ccall "bessel.h gsl_sf_bessel_yl" gsl_sf_bessel_yl :: Int -> Double -> Double | ||
530 | |||
531 | -- | wrapper for int gsl_sf_bessel_yl_array(int lmax,double x,double* result_array); | ||
532 | -- | ||
533 | -- <http://www.google.com/search?q=gsl_sf_bessel_yl_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
534 | bessel_yl_array :: Int -> Double -> Ptr Double -> Int | ||
535 | bessel_yl_array = gsl_sf_bessel_yl_array | ||
536 | foreign import ccall "bessel.h gsl_sf_bessel_yl_array" gsl_sf_bessel_yl_array :: Int -> Double -> Ptr Double -> Int | ||
537 | |||
538 | -- | wrapper for int gsl_sf_bessel_i0_scaled_e(double x,gsl_sf_result* result); | ||
539 | -- | ||
540 | -- <http://www.google.com/search?q=gsl_sf_bessel_i0_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
541 | bessel_i0_scaled_e :: Double -> (Double,Double) | ||
542 | bessel_i0_scaled_e x = createSFR "bessel_i0_scaled_e" $ gsl_sf_bessel_i0_scaled_e x | ||
543 | foreign import ccall "bessel.h gsl_sf_bessel_i0_scaled_e" gsl_sf_bessel_i0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
544 | |||
545 | -- | wrapper for double gsl_sf_bessel_i0_scaled(double x); | ||
546 | -- | ||
547 | -- <http://www.google.com/search?q=gsl_sf_bessel_i0_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
548 | bessel_i0_scaled :: Double -> Double | ||
549 | bessel_i0_scaled = gsl_sf_bessel_i0_scaled | ||
550 | foreign import ccall "bessel.h gsl_sf_bessel_i0_scaled" gsl_sf_bessel_i0_scaled :: Double -> Double | ||
551 | |||
552 | -- | wrapper for int gsl_sf_bessel_i1_scaled_e(double x,gsl_sf_result* result); | ||
553 | -- | ||
554 | -- <http://www.google.com/search?q=gsl_sf_bessel_i1_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
555 | bessel_i1_scaled_e :: Double -> (Double,Double) | ||
556 | bessel_i1_scaled_e x = createSFR "bessel_i1_scaled_e" $ gsl_sf_bessel_i1_scaled_e x | ||
557 | foreign import ccall "bessel.h gsl_sf_bessel_i1_scaled_e" gsl_sf_bessel_i1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
558 | |||
559 | -- | wrapper for double gsl_sf_bessel_i1_scaled(double x); | ||
560 | -- | ||
561 | -- <http://www.google.com/search?q=gsl_sf_bessel_i1_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
562 | bessel_i1_scaled :: Double -> Double | ||
563 | bessel_i1_scaled = gsl_sf_bessel_i1_scaled | ||
564 | foreign import ccall "bessel.h gsl_sf_bessel_i1_scaled" gsl_sf_bessel_i1_scaled :: Double -> Double | ||
565 | |||
566 | -- | wrapper for int gsl_sf_bessel_i2_scaled_e(double x,gsl_sf_result* result); | ||
567 | -- | ||
568 | -- <http://www.google.com/search?q=gsl_sf_bessel_i2_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
569 | bessel_i2_scaled_e :: Double -> (Double,Double) | ||
570 | bessel_i2_scaled_e x = createSFR "bessel_i2_scaled_e" $ gsl_sf_bessel_i2_scaled_e x | ||
571 | foreign import ccall "bessel.h gsl_sf_bessel_i2_scaled_e" gsl_sf_bessel_i2_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
572 | |||
573 | -- | wrapper for double gsl_sf_bessel_i2_scaled(double x); | ||
574 | -- | ||
575 | -- <http://www.google.com/search?q=gsl_sf_bessel_i2_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
576 | bessel_i2_scaled :: Double -> Double | ||
577 | bessel_i2_scaled = gsl_sf_bessel_i2_scaled | ||
578 | foreign import ccall "bessel.h gsl_sf_bessel_i2_scaled" gsl_sf_bessel_i2_scaled :: Double -> Double | ||
579 | |||
580 | -- | wrapper for int gsl_sf_bessel_il_scaled_e(int l,double x,gsl_sf_result* result); | ||
581 | -- | ||
582 | -- <http://www.google.com/search?q=gsl_sf_bessel_il_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
583 | bessel_il_scaled_e :: Int -> Double -> (Double,Double) | ||
584 | bessel_il_scaled_e l x = createSFR "bessel_il_scaled_e" $ gsl_sf_bessel_il_scaled_e l x | ||
585 | foreign import ccall "bessel.h gsl_sf_bessel_il_scaled_e" gsl_sf_bessel_il_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
586 | |||
587 | -- | wrapper for double gsl_sf_bessel_il_scaled(int l,double x); | ||
588 | -- | ||
589 | -- <http://www.google.com/search?q=gsl_sf_bessel_il_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
590 | bessel_il_scaled :: Int -> Double -> Double | ||
591 | bessel_il_scaled = gsl_sf_bessel_il_scaled | ||
592 | foreign import ccall "bessel.h gsl_sf_bessel_il_scaled" gsl_sf_bessel_il_scaled :: Int -> Double -> Double | ||
593 | |||
594 | -- | wrapper for int gsl_sf_bessel_il_scaled_array(int lmax,double x,double* result_array); | ||
595 | -- | ||
596 | -- <http://www.google.com/search?q=gsl_sf_bessel_il_scaled_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
597 | bessel_il_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
598 | bessel_il_scaled_array = gsl_sf_bessel_il_scaled_array | ||
599 | foreign import ccall "bessel.h gsl_sf_bessel_il_scaled_array" gsl_sf_bessel_il_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
600 | |||
601 | -- | wrapper for int gsl_sf_bessel_k0_scaled_e(double x,gsl_sf_result* result); | ||
602 | -- | ||
603 | -- <http://www.google.com/search?q=gsl_sf_bessel_k0_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
604 | bessel_k0_scaled_e :: Double -> (Double,Double) | ||
605 | bessel_k0_scaled_e x = createSFR "bessel_k0_scaled_e" $ gsl_sf_bessel_k0_scaled_e x | ||
606 | foreign import ccall "bessel.h gsl_sf_bessel_k0_scaled_e" gsl_sf_bessel_k0_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
607 | |||
608 | -- | wrapper for double gsl_sf_bessel_k0_scaled(double x); | ||
609 | -- | ||
610 | -- <http://www.google.com/search?q=gsl_sf_bessel_k0_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
611 | bessel_k0_scaled :: Double -> Double | ||
612 | bessel_k0_scaled = gsl_sf_bessel_k0_scaled | ||
613 | foreign import ccall "bessel.h gsl_sf_bessel_k0_scaled" gsl_sf_bessel_k0_scaled :: Double -> Double | ||
614 | |||
615 | -- | wrapper for int gsl_sf_bessel_k1_scaled_e(double x,gsl_sf_result* result); | ||
616 | -- | ||
617 | -- <http://www.google.com/search?q=gsl_sf_bessel_k1_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
618 | bessel_k1_scaled_e :: Double -> (Double,Double) | ||
619 | bessel_k1_scaled_e x = createSFR "bessel_k1_scaled_e" $ gsl_sf_bessel_k1_scaled_e x | ||
620 | foreign import ccall "bessel.h gsl_sf_bessel_k1_scaled_e" gsl_sf_bessel_k1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
621 | |||
622 | -- | wrapper for double gsl_sf_bessel_k1_scaled(double x); | ||
623 | -- | ||
624 | -- <http://www.google.com/search?q=gsl_sf_bessel_k1_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
625 | bessel_k1_scaled :: Double -> Double | ||
626 | bessel_k1_scaled = gsl_sf_bessel_k1_scaled | ||
627 | foreign import ccall "bessel.h gsl_sf_bessel_k1_scaled" gsl_sf_bessel_k1_scaled :: Double -> Double | ||
628 | |||
629 | -- | wrapper for int gsl_sf_bessel_k2_scaled_e(double x,gsl_sf_result* result); | ||
630 | -- | ||
631 | -- <http://www.google.com/search?q=gsl_sf_bessel_k2_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
632 | bessel_k2_scaled_e :: Double -> (Double,Double) | ||
633 | bessel_k2_scaled_e x = createSFR "bessel_k2_scaled_e" $ gsl_sf_bessel_k2_scaled_e x | ||
634 | foreign import ccall "bessel.h gsl_sf_bessel_k2_scaled_e" gsl_sf_bessel_k2_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
635 | |||
636 | -- | wrapper for double gsl_sf_bessel_k2_scaled(double x); | ||
637 | -- | ||
638 | -- <http://www.google.com/search?q=gsl_sf_bessel_k2_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
639 | bessel_k2_scaled :: Double -> Double | ||
640 | bessel_k2_scaled = gsl_sf_bessel_k2_scaled | ||
641 | foreign import ccall "bessel.h gsl_sf_bessel_k2_scaled" gsl_sf_bessel_k2_scaled :: Double -> Double | ||
642 | |||
643 | -- | wrapper for int gsl_sf_bessel_kl_scaled_e(int l,double x,gsl_sf_result* result); | ||
644 | -- | ||
645 | -- <http://www.google.com/search?q=gsl_sf_bessel_kl_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
646 | bessel_kl_scaled_e :: Int -> Double -> (Double,Double) | ||
647 | bessel_kl_scaled_e l x = createSFR "bessel_kl_scaled_e" $ gsl_sf_bessel_kl_scaled_e l x | ||
648 | foreign import ccall "bessel.h gsl_sf_bessel_kl_scaled_e" gsl_sf_bessel_kl_scaled_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
649 | |||
650 | -- | wrapper for double gsl_sf_bessel_kl_scaled(int l,double x); | ||
651 | -- | ||
652 | -- <http://www.google.com/search?q=gsl_sf_bessel_kl_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
653 | bessel_kl_scaled :: Int -> Double -> Double | ||
654 | bessel_kl_scaled = gsl_sf_bessel_kl_scaled | ||
655 | foreign import ccall "bessel.h gsl_sf_bessel_kl_scaled" gsl_sf_bessel_kl_scaled :: Int -> Double -> Double | ||
656 | |||
657 | -- | wrapper for int gsl_sf_bessel_kl_scaled_array(int lmax,double x,double* result_array); | ||
658 | -- | ||
659 | -- <http://www.google.com/search?q=gsl_sf_bessel_kl_scaled_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
660 | bessel_kl_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
661 | bessel_kl_scaled_array = gsl_sf_bessel_kl_scaled_array | ||
662 | foreign import ccall "bessel.h gsl_sf_bessel_kl_scaled_array" gsl_sf_bessel_kl_scaled_array :: Int -> Double -> Ptr Double -> Int | ||
663 | |||
664 | -- | wrapper for int gsl_sf_bessel_Jnu_e(double nu,double x,gsl_sf_result* result); | ||
665 | -- | ||
666 | -- <http://www.google.com/search?q=gsl_sf_bessel_Jnu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
667 | bessel_Jnu_e :: Double -> Double -> (Double,Double) | ||
668 | bessel_Jnu_e nu x = createSFR "bessel_Jnu_e" $ gsl_sf_bessel_Jnu_e nu x | ||
669 | foreign import ccall "bessel.h gsl_sf_bessel_Jnu_e" gsl_sf_bessel_Jnu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
670 | |||
671 | -- | wrapper for double gsl_sf_bessel_Jnu(double nu,double x); | ||
672 | -- | ||
673 | -- <http://www.google.com/search?q=gsl_sf_bessel_Jnu&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
674 | bessel_Jnu :: Double -> Double -> Double | ||
675 | bessel_Jnu = gsl_sf_bessel_Jnu | ||
676 | foreign import ccall "bessel.h gsl_sf_bessel_Jnu" gsl_sf_bessel_Jnu :: Double -> Double -> Double | ||
677 | |||
678 | -- | wrapper for int gsl_sf_bessel_Ynu_e(double nu,double x,gsl_sf_result* result); | ||
679 | -- | ||
680 | -- <http://www.google.com/search?q=gsl_sf_bessel_Ynu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
681 | bessel_Ynu_e :: Double -> Double -> (Double,Double) | ||
682 | bessel_Ynu_e nu x = createSFR "bessel_Ynu_e" $ gsl_sf_bessel_Ynu_e nu x | ||
683 | foreign import ccall "bessel.h gsl_sf_bessel_Ynu_e" gsl_sf_bessel_Ynu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
684 | |||
685 | -- | wrapper for double gsl_sf_bessel_Ynu(double nu,double x); | ||
686 | -- | ||
687 | -- <http://www.google.com/search?q=gsl_sf_bessel_Ynu&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
688 | bessel_Ynu :: Double -> Double -> Double | ||
689 | bessel_Ynu = gsl_sf_bessel_Ynu | ||
690 | foreign import ccall "bessel.h gsl_sf_bessel_Ynu" gsl_sf_bessel_Ynu :: Double -> Double -> Double | ||
691 | |||
692 | -- | wrapper for int gsl_sf_bessel_sequence_Jnu_e(double nu,gsl_mode_t mode,size_t size,double* v); | ||
693 | -- | ||
694 | -- <http://www.google.com/search?q=gsl_sf_bessel_sequence_Jnu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
695 | bessel_sequence_Jnu_e :: Double -> Precision -> Size_t -> Ptr Double -> Int | ||
696 | bessel_sequence_Jnu_e nu mode size v = gsl_sf_bessel_sequence_Jnu_e nu (precCode mode) size v | ||
697 | foreign import ccall "bessel.h gsl_sf_bessel_sequence_Jnu_e" gsl_sf_bessel_sequence_Jnu_e :: Double -> Gsl_mode_t -> Size_t -> Ptr Double -> Int | ||
698 | |||
699 | -- | wrapper for int gsl_sf_bessel_Inu_scaled_e(double nu,double x,gsl_sf_result* result); | ||
700 | -- | ||
701 | -- <http://www.google.com/search?q=gsl_sf_bessel_Inu_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
702 | bessel_Inu_scaled_e :: Double -> Double -> (Double,Double) | ||
703 | bessel_Inu_scaled_e nu x = createSFR "bessel_Inu_scaled_e" $ gsl_sf_bessel_Inu_scaled_e nu x | ||
704 | foreign import ccall "bessel.h gsl_sf_bessel_Inu_scaled_e" gsl_sf_bessel_Inu_scaled_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
705 | |||
706 | -- | wrapper for double gsl_sf_bessel_Inu_scaled(double nu,double x); | ||
707 | -- | ||
708 | -- <http://www.google.com/search?q=gsl_sf_bessel_Inu_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
709 | bessel_Inu_scaled :: Double -> Double -> Double | ||
710 | bessel_Inu_scaled = gsl_sf_bessel_Inu_scaled | ||
711 | foreign import ccall "bessel.h gsl_sf_bessel_Inu_scaled" gsl_sf_bessel_Inu_scaled :: Double -> Double -> Double | ||
712 | |||
713 | -- | wrapper for int gsl_sf_bessel_Inu_e(double nu,double x,gsl_sf_result* result); | ||
714 | -- | ||
715 | -- <http://www.google.com/search?q=gsl_sf_bessel_Inu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
716 | bessel_Inu_e :: Double -> Double -> (Double,Double) | ||
717 | bessel_Inu_e nu x = createSFR "bessel_Inu_e" $ gsl_sf_bessel_Inu_e nu x | ||
718 | foreign import ccall "bessel.h gsl_sf_bessel_Inu_e" gsl_sf_bessel_Inu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
719 | |||
720 | -- | wrapper for double gsl_sf_bessel_Inu(double nu,double x); | ||
721 | -- | ||
722 | -- <http://www.google.com/search?q=gsl_sf_bessel_Inu&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
723 | bessel_Inu :: Double -> Double -> Double | ||
724 | bessel_Inu = gsl_sf_bessel_Inu | ||
725 | foreign import ccall "bessel.h gsl_sf_bessel_Inu" gsl_sf_bessel_Inu :: Double -> Double -> Double | ||
726 | |||
727 | -- | wrapper for int gsl_sf_bessel_Knu_scaled_e(double nu,double x,gsl_sf_result* result); | ||
728 | -- | ||
729 | -- <http://www.google.com/search?q=gsl_sf_bessel_Knu_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
730 | bessel_Knu_scaled_e :: Double -> Double -> (Double,Double) | ||
731 | bessel_Knu_scaled_e nu x = createSFR "bessel_Knu_scaled_e" $ gsl_sf_bessel_Knu_scaled_e nu x | ||
732 | foreign import ccall "bessel.h gsl_sf_bessel_Knu_scaled_e" gsl_sf_bessel_Knu_scaled_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
733 | |||
734 | -- | wrapper for double gsl_sf_bessel_Knu_scaled(double nu,double x); | ||
735 | -- | ||
736 | -- <http://www.google.com/search?q=gsl_sf_bessel_Knu_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
737 | bessel_Knu_scaled :: Double -> Double -> Double | ||
738 | bessel_Knu_scaled = gsl_sf_bessel_Knu_scaled | ||
739 | foreign import ccall "bessel.h gsl_sf_bessel_Knu_scaled" gsl_sf_bessel_Knu_scaled :: Double -> Double -> Double | ||
740 | |||
741 | -- | wrapper for int gsl_sf_bessel_Knu_e(double nu,double x,gsl_sf_result* result); | ||
742 | -- | ||
743 | -- <http://www.google.com/search?q=gsl_sf_bessel_Knu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
744 | bessel_Knu_e :: Double -> Double -> (Double,Double) | ||
745 | bessel_Knu_e nu x = createSFR "bessel_Knu_e" $ gsl_sf_bessel_Knu_e nu x | ||
746 | foreign import ccall "bessel.h gsl_sf_bessel_Knu_e" gsl_sf_bessel_Knu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
747 | |||
748 | -- | wrapper for double gsl_sf_bessel_Knu(double nu,double x); | ||
749 | -- | ||
750 | -- <http://www.google.com/search?q=gsl_sf_bessel_Knu&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
751 | bessel_Knu :: Double -> Double -> Double | ||
752 | bessel_Knu = gsl_sf_bessel_Knu | ||
753 | foreign import ccall "bessel.h gsl_sf_bessel_Knu" gsl_sf_bessel_Knu :: Double -> Double -> Double | ||
754 | |||
755 | -- | wrapper for int gsl_sf_bessel_lnKnu_e(double nu,double x,gsl_sf_result* result); | ||
756 | -- | ||
757 | -- <http://www.google.com/search?q=gsl_sf_bessel_lnKnu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
758 | bessel_lnKnu_e :: Double -> Double -> (Double,Double) | ||
759 | bessel_lnKnu_e nu x = createSFR "bessel_lnKnu_e" $ gsl_sf_bessel_lnKnu_e nu x | ||
760 | foreign import ccall "bessel.h gsl_sf_bessel_lnKnu_e" gsl_sf_bessel_lnKnu_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
761 | |||
762 | -- | wrapper for double gsl_sf_bessel_lnKnu(double nu,double x); | ||
763 | -- | ||
764 | -- <http://www.google.com/search?q=gsl_sf_bessel_lnKnu&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
765 | bessel_lnKnu :: Double -> Double -> Double | ||
766 | bessel_lnKnu = gsl_sf_bessel_lnKnu | ||
767 | foreign import ccall "bessel.h gsl_sf_bessel_lnKnu" gsl_sf_bessel_lnKnu :: Double -> Double -> Double | ||
768 | |||
769 | -- | wrapper for int gsl_sf_bessel_zero_J0_e(int s,gsl_sf_result* result); | ||
770 | -- | ||
771 | -- <http://www.google.com/search?q=gsl_sf_bessel_zero_J0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
772 | bessel_zero_J0_e :: Int -> (Double,Double) | ||
773 | bessel_zero_J0_e s = createSFR "bessel_zero_J0_e" $ gsl_sf_bessel_zero_J0_e s | ||
774 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J0_e" gsl_sf_bessel_zero_J0_e :: Int -> Ptr Double -> IO(Int) | ||
775 | |||
776 | -- | wrapper for double gsl_sf_bessel_zero_J0(int s); | ||
777 | -- | ||
778 | -- <http://www.google.com/search?q=gsl_sf_bessel_zero_J0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
779 | bessel_zero_J0 :: Int -> Double | ||
780 | bessel_zero_J0 = gsl_sf_bessel_zero_J0 | ||
781 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J0" gsl_sf_bessel_zero_J0 :: Int -> Double | ||
782 | |||
783 | -- | wrapper for int gsl_sf_bessel_zero_J1_e(int s,gsl_sf_result* result); | ||
784 | -- | ||
785 | -- <http://www.google.com/search?q=gsl_sf_bessel_zero_J1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
786 | bessel_zero_J1_e :: Int -> (Double,Double) | ||
787 | bessel_zero_J1_e s = createSFR "bessel_zero_J1_e" $ gsl_sf_bessel_zero_J1_e s | ||
788 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J1_e" gsl_sf_bessel_zero_J1_e :: Int -> Ptr Double -> IO(Int) | ||
789 | |||
790 | -- | wrapper for double gsl_sf_bessel_zero_J1(int s); | ||
791 | -- | ||
792 | -- <http://www.google.com/search?q=gsl_sf_bessel_zero_J1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
793 | bessel_zero_J1 :: Int -> Double | ||
794 | bessel_zero_J1 = gsl_sf_bessel_zero_J1 | ||
795 | foreign import ccall "bessel.h gsl_sf_bessel_zero_J1" gsl_sf_bessel_zero_J1 :: Int -> Double | ||
796 | |||
797 | -- | wrapper for int gsl_sf_bessel_zero_Jnu_e(double nu,int s,gsl_sf_result* result); | ||
798 | -- | ||
799 | -- <http://www.google.com/search?q=gsl_sf_bessel_zero_Jnu_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
800 | bessel_zero_Jnu_e :: Double -> Int -> (Double,Double) | ||
801 | bessel_zero_Jnu_e nu s = createSFR "bessel_zero_Jnu_e" $ gsl_sf_bessel_zero_Jnu_e nu s | ||
802 | foreign import ccall "bessel.h gsl_sf_bessel_zero_Jnu_e" gsl_sf_bessel_zero_Jnu_e :: Double -> Int -> Ptr Double -> IO(Int) | ||
803 | |||
804 | -- | wrapper for double gsl_sf_bessel_zero_Jnu(double nu,int s); | ||
805 | -- | ||
806 | -- <http://www.google.com/search?q=gsl_sf_bessel_zero_Jnu&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
807 | bessel_zero_Jnu :: Double -> Int -> Double | ||
808 | bessel_zero_Jnu = gsl_sf_bessel_zero_Jnu | ||
809 | foreign import ccall "bessel.h gsl_sf_bessel_zero_Jnu" gsl_sf_bessel_zero_Jnu :: Double -> Int -> Double | ||
diff --git a/lib/GSL/Special/Clausen.hs b/lib/GSL/Special/Clausen.hs deleted file mode 100644 index 57c8878..0000000 --- a/lib/GSL/Special/Clausen.hs +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Clausen | ||
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.google.com/search?q=gsl_sf_clausen.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Clausen( | ||
18 | clausen_e | ||
19 | , clausen | ||
20 | ) where | ||
21 | |||
22 | import Foreign(Ptr) | ||
23 | import GSL.Special.Internal | ||
24 | |||
25 | -- | wrapper for int gsl_sf_clausen_e(double x,gsl_sf_result* result); | ||
26 | -- | ||
27 | -- <http://www.google.com/search?q=gsl_sf_clausen_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
28 | clausen_e :: Double -> (Double,Double) | ||
29 | clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x | ||
30 | foreign import ccall "clausen.h gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr Double -> IO(Int) | ||
31 | |||
32 | -- | wrapper for double gsl_sf_clausen(double x); | ||
33 | -- | ||
34 | -- <http://www.google.com/search?q=gsl_sf_clausen&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
35 | clausen :: Double -> Double | ||
36 | clausen = gsl_sf_clausen | ||
37 | foreign import ccall "clausen.h gsl_sf_clausen" gsl_sf_clausen :: Double -> Double | ||
diff --git a/lib/GSL/Special/Coulomb.hs b/lib/GSL/Special/Coulomb.hs deleted file mode 100644 index a60b724..0000000 --- a/lib/GSL/Special/Coulomb.hs +++ /dev/null | |||
@@ -1,103 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Coulomb | ||
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.google.com/search?q=gsl_sf_coulomb.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Coulomb( | ||
18 | hydrogenicR_1_e | ||
19 | , hydrogenicR_1 | ||
20 | , hydrogenicR_e | ||
21 | , hydrogenicR | ||
22 | , coulomb_CL_e | ||
23 | ) where | ||
24 | |||
25 | import Foreign(Ptr) | ||
26 | import GSL.Special.Internal | ||
27 | |||
28 | -- | wrapper for int gsl_sf_hydrogenicR_1_e(double Z,double r,gsl_sf_result* result); | ||
29 | -- | ||
30 | -- <http://www.google.com/search?q=gsl_sf_hydrogenicR_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
31 | hydrogenicR_1_e :: Double -> Double -> (Double,Double) | ||
32 | hydrogenicR_1_e zZ r = createSFR "hydrogenicR_1_e" $ gsl_sf_hydrogenicR_1_e zZ r | ||
33 | foreign import ccall "coulomb.h gsl_sf_hydrogenicR_1_e" gsl_sf_hydrogenicR_1_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
34 | |||
35 | -- | wrapper for double gsl_sf_hydrogenicR_1(double Z,double r); | ||
36 | -- | ||
37 | -- <http://www.google.com/search?q=gsl_sf_hydrogenicR_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
38 | hydrogenicR_1 :: Double -> Double -> Double | ||
39 | hydrogenicR_1 = gsl_sf_hydrogenicR_1 | ||
40 | foreign import ccall "coulomb.h gsl_sf_hydrogenicR_1" gsl_sf_hydrogenicR_1 :: Double -> Double -> Double | ||
41 | |||
42 | -- | wrapper for int gsl_sf_hydrogenicR_e(int n,int l,double Z,double r,gsl_sf_result* result); | ||
43 | -- | ||
44 | -- <http://www.google.com/search?q=gsl_sf_hydrogenicR_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
45 | hydrogenicR_e :: Int -> Int -> Double -> Double -> (Double,Double) | ||
46 | hydrogenicR_e n l zZ r = createSFR "hydrogenicR_e" $ gsl_sf_hydrogenicR_e n l zZ r | ||
47 | foreign import ccall "coulomb.h gsl_sf_hydrogenicR_e" gsl_sf_hydrogenicR_e :: Int -> Int -> Double -> Double -> Ptr Double -> IO(Int) | ||
48 | |||
49 | -- | wrapper for double gsl_sf_hydrogenicR(int n,int l,double Z,double r); | ||
50 | -- | ||
51 | -- <http://www.google.com/search?q=gsl_sf_hydrogenicR&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
52 | hydrogenicR :: Int -> Int -> Double -> Double -> Double | ||
53 | hydrogenicR = gsl_sf_hydrogenicR | ||
54 | foreign import ccall "coulomb.h gsl_sf_hydrogenicR" gsl_sf_hydrogenicR :: Int -> Int -> Double -> Double -> Double | ||
55 | |||
56 | -- | wrapper for int gsl_sf_coulomb_wave_FG_e(double eta,double x,double lam_F,int k_lam_G,gsl_sf_result* F,gsl_sf_result* Fp,gsl_sf_result* G,gsl_sf_result* Gp,double* exp_F,double* exp_G); | ||
57 | -- | ||
58 | -- <http://www.google.com/search?q=gsl_sf_coulomb_wave_FG_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
59 | coulomb_wave_FG_e :: Double -> Double -> Double -> Int -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Int | ||
60 | coulomb_wave_FG_e = gsl_sf_coulomb_wave_FG_e | ||
61 | foreign import ccall "coulomb.h gsl_sf_coulomb_wave_FG_e" gsl_sf_coulomb_wave_FG_e :: Double -> Double -> Double -> Int -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Int | ||
62 | |||
63 | -- | wrapper for int gsl_sf_coulomb_wave_F_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* F_exponent); | ||
64 | -- | ||
65 | -- <http://www.google.com/search?q=gsl_sf_coulomb_wave_F_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
66 | coulomb_wave_F_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Int | ||
67 | coulomb_wave_F_array = gsl_sf_coulomb_wave_F_array | ||
68 | foreign import ccall "coulomb.h gsl_sf_coulomb_wave_F_array" gsl_sf_coulomb_wave_F_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Int | ||
69 | |||
70 | -- | wrapper for int gsl_sf_coulomb_wave_FG_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* gc_array,double* F_exponent,double* G_exponent); | ||
71 | -- | ||
72 | -- <http://www.google.com/search?q=gsl_sf_coulomb_wave_FG_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
73 | coulomb_wave_FG_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Int | ||
74 | coulomb_wave_FG_array = gsl_sf_coulomb_wave_FG_array | ||
75 | foreign import ccall "coulomb.h gsl_sf_coulomb_wave_FG_array" gsl_sf_coulomb_wave_FG_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Int | ||
76 | |||
77 | -- | wrapper for int gsl_sf_coulomb_wave_FGp_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* fcp_array,double* gc_array,double* gcp_array,double* F_exponent,double* G_exponent); | ||
78 | -- | ||
79 | -- <http://www.google.com/search?q=gsl_sf_coulomb_wave_FGp_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
80 | coulomb_wave_FGp_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Int | ||
81 | coulomb_wave_FGp_array = gsl_sf_coulomb_wave_FGp_array | ||
82 | foreign import ccall "coulomb.h gsl_sf_coulomb_wave_FGp_array" gsl_sf_coulomb_wave_FGp_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Ptr Double -> Int | ||
83 | |||
84 | -- | wrapper for int gsl_sf_coulomb_wave_sphF_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* F_exponent); | ||
85 | -- | ||
86 | -- <http://www.google.com/search?q=gsl_sf_coulomb_wave_sphF_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
87 | coulomb_wave_sphF_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Int | ||
88 | coulomb_wave_sphF_array = gsl_sf_coulomb_wave_sphF_array | ||
89 | foreign import ccall "coulomb.h gsl_sf_coulomb_wave_sphF_array" gsl_sf_coulomb_wave_sphF_array :: Double -> Int -> Double -> Double -> Ptr Double -> Ptr Double -> Int | ||
90 | |||
91 | -- | wrapper for int gsl_sf_coulomb_CL_e(double L,double eta,gsl_sf_result* result); | ||
92 | -- | ||
93 | -- <http://www.google.com/search?q=gsl_sf_coulomb_CL_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
94 | coulomb_CL_e :: Double -> Double -> (Double,Double) | ||
95 | coulomb_CL_e lL eta = createSFR "coulomb_CL_e" $ gsl_sf_coulomb_CL_e lL eta | ||
96 | foreign import ccall "coulomb.h gsl_sf_coulomb_CL_e" gsl_sf_coulomb_CL_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
97 | |||
98 | -- | wrapper for int gsl_sf_coulomb_CL_array(double Lmin,int kmax,double eta,double* cl); | ||
99 | -- | ||
100 | -- <http://www.google.com/search?q=gsl_sf_coulomb_CL_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
101 | coulomb_CL_array :: Double -> Int -> Double -> Ptr Double -> Int | ||
102 | coulomb_CL_array = gsl_sf_coulomb_CL_array | ||
103 | foreign import ccall "coulomb.h gsl_sf_coulomb_CL_array" gsl_sf_coulomb_CL_array :: Double -> Int -> Double -> Ptr Double -> Int | ||
diff --git a/lib/GSL/Special/Coupling.hs b/lib/GSL/Special/Coupling.hs deleted file mode 100644 index fb949d1..0000000 --- a/lib/GSL/Special/Coupling.hs +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Coupling | ||
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/Coupling-Coefficients.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Coupling( | ||
18 | coupling_3j_e | ||
19 | , coupling_3j | ||
20 | , coupling_6j_e | ||
21 | , coupling_6j | ||
22 | , coupling_RacahW_e | ||
23 | , coupling_RacahW | ||
24 | , coupling_9j_e | ||
25 | , coupling_9j | ||
26 | -- , coupling_6j_INCORRECT_e | ||
27 | -- , coupling_6j_INCORRECT | ||
28 | ) where | ||
29 | |||
30 | import Foreign(Ptr) | ||
31 | import GSL.Special.Internal | ||
32 | |||
33 | -- | wrapper for int gsl_sf_coupling_3j_e(int two_ja,int two_jb,int two_jc,int two_ma,int two_mb,int two_mc,gsl_sf_result* result); | ||
34 | coupling_3j_e :: Int -> Int -> Int -> Int -> Int -> Int -> (Double,Double) | ||
35 | coupling_3j_e two_ja two_jb two_jc two_ma two_mb two_mc = createSFR "coupling_3j_e" $ gsl_sf_coupling_3j_e two_ja two_jb two_jc two_ma two_mb two_mc | ||
36 | foreign import ccall "coupling.h gsl_sf_coupling_3j_e" gsl_sf_coupling_3j_e :: Int -> Int -> Int -> Int -> Int -> Int -> Ptr Double -> IO(Int) | ||
37 | |||
38 | -- | wrapper for double gsl_sf_coupling_3j(int two_ja,int two_jb,int two_jc,int two_ma,int two_mb,int two_mc); | ||
39 | coupling_3j :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
40 | coupling_3j = gsl_sf_coupling_3j | ||
41 | foreign import ccall "coupling.h gsl_sf_coupling_3j" gsl_sf_coupling_3j :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
42 | |||
43 | -- | wrapper for int gsl_sf_coupling_6j_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,gsl_sf_result* result); | ||
44 | coupling_6j_e :: Int -> Int -> Int -> Int -> Int -> Int -> (Double,Double) | ||
45 | coupling_6j_e two_ja two_jb two_jc two_jd two_je two_jf = createSFR "coupling_6j_e" $ gsl_sf_coupling_6j_e two_ja two_jb two_jc two_jd two_je two_jf | ||
46 | foreign import ccall "coupling.h gsl_sf_coupling_6j_e" gsl_sf_coupling_6j_e :: Int -> Int -> Int -> Int -> Int -> Int -> Ptr Double -> IO(Int) | ||
47 | |||
48 | -- | wrapper for double gsl_sf_coupling_6j(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf); | ||
49 | coupling_6j :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
50 | coupling_6j = gsl_sf_coupling_6j | ||
51 | foreign import ccall "coupling.h gsl_sf_coupling_6j" gsl_sf_coupling_6j :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
52 | |||
53 | -- | wrapper for int gsl_sf_coupling_RacahW_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,gsl_sf_result* result); | ||
54 | coupling_RacahW_e :: Int -> Int -> Int -> Int -> Int -> Int -> (Double,Double) | ||
55 | coupling_RacahW_e two_ja two_jb two_jc two_jd two_je two_jf = createSFR "coupling_RacahW_e" $ gsl_sf_coupling_RacahW_e two_ja two_jb two_jc two_jd two_je two_jf | ||
56 | foreign import ccall "coupling.h gsl_sf_coupling_RacahW_e" gsl_sf_coupling_RacahW_e :: Int -> Int -> Int -> Int -> Int -> Int -> Ptr Double -> IO(Int) | ||
57 | |||
58 | -- | wrapper for double gsl_sf_coupling_RacahW(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf); | ||
59 | coupling_RacahW :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
60 | coupling_RacahW = gsl_sf_coupling_RacahW | ||
61 | foreign import ccall "coupling.h gsl_sf_coupling_RacahW" gsl_sf_coupling_RacahW :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
62 | |||
63 | -- | wrapper for int gsl_sf_coupling_9j_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,int two_jg,int two_jh,int two_ji,gsl_sf_result* result); | ||
64 | coupling_9j_e :: Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> (Double,Double) | ||
65 | coupling_9j_e two_ja two_jb two_jc two_jd two_je two_jf two_jg two_jh two_ji = createSFR "coupling_9j_e" $ gsl_sf_coupling_9j_e two_ja two_jb two_jc two_jd two_je two_jf two_jg two_jh two_ji | ||
66 | foreign import ccall "coupling.h gsl_sf_coupling_9j_e" gsl_sf_coupling_9j_e :: Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Ptr Double -> IO(Int) | ||
67 | |||
68 | -- | wrapper for double gsl_sf_coupling_9j(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,int two_jg,int two_jh,int two_ji); | ||
69 | coupling_9j :: Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
70 | coupling_9j = gsl_sf_coupling_9j | ||
71 | foreign import ccall "coupling.h gsl_sf_coupling_9j" gsl_sf_coupling_9j :: Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
72 | |||
73 | -- | wrapper for int gsl_sf_coupling_6j_INCORRECT_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,gsl_sf_result* result); | ||
74 | coupling_6j_INCORRECT_e :: Int -> Int -> Int -> Int -> Int -> Int -> (Double,Double) | ||
75 | coupling_6j_INCORRECT_e two_ja two_jb two_jc two_jd two_je two_jf = createSFR "coupling_6j_INCORRECT_e" $ gsl_sf_coupling_6j_INCORRECT_e two_ja two_jb two_jc two_jd two_je two_jf | ||
76 | foreign import ccall "coupling.h gsl_sf_coupling_6j_INCORRECT_e" gsl_sf_coupling_6j_INCORRECT_e :: Int -> Int -> Int -> Int -> Int -> Int -> Ptr Double -> IO(Int) | ||
77 | |||
78 | -- | wrapper for double gsl_sf_coupling_6j_INCORRECT(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf); | ||
79 | coupling_6j_INCORRECT :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
80 | coupling_6j_INCORRECT = gsl_sf_coupling_6j_INCORRECT | ||
81 | foreign import ccall "coupling.h gsl_sf_coupling_6j_INCORRECT" gsl_sf_coupling_6j_INCORRECT :: Int -> Int -> Int -> Int -> Int -> Int -> Double | ||
diff --git a/lib/GSL/Special/Dawson.hs b/lib/GSL/Special/Dawson.hs deleted file mode 100644 index 69d0127..0000000 --- a/lib/GSL/Special/Dawson.hs +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Dawson | ||
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.google.com/search?q=gsl_sf_dawson.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Dawson( | ||
18 | dawson_e | ||
19 | , dawson | ||
20 | ) where | ||
21 | |||
22 | import Foreign(Ptr) | ||
23 | import GSL.Special.Internal | ||
24 | |||
25 | -- | wrapper for int gsl_sf_dawson_e(double x,gsl_sf_result* result); | ||
26 | -- | ||
27 | -- <http://www.google.com/search?q=gsl_sf_dawson_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
28 | dawson_e :: Double -> (Double,Double) | ||
29 | dawson_e x = createSFR "dawson_e" $ gsl_sf_dawson_e x | ||
30 | foreign import ccall "dawson.h gsl_sf_dawson_e" gsl_sf_dawson_e :: Double -> Ptr Double -> IO(Int) | ||
31 | |||
32 | -- | wrapper for double gsl_sf_dawson(double x); | ||
33 | -- | ||
34 | -- <http://www.google.com/search?q=gsl_sf_dawson&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
35 | dawson :: Double -> Double | ||
36 | dawson = gsl_sf_dawson | ||
37 | foreign import ccall "dawson.h gsl_sf_dawson" gsl_sf_dawson :: Double -> Double | ||
diff --git a/lib/GSL/Special/Debye.hs b/lib/GSL/Special/Debye.hs deleted file mode 100644 index 55f5158..0000000 --- a/lib/GSL/Special/Debye.hs +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Debye | ||
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.google.com/search?q=gsl_sf_debye.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Debye( | ||
18 | debye_1_e | ||
19 | , debye_1 | ||
20 | , debye_2_e | ||
21 | , debye_2 | ||
22 | , debye_3_e | ||
23 | , debye_3 | ||
24 | , debye_4_e | ||
25 | , debye_4 | ||
26 | ) where | ||
27 | |||
28 | import Foreign(Ptr) | ||
29 | import GSL.Special.Internal | ||
30 | |||
31 | -- | wrapper for int gsl_sf_debye_1_e(double x,gsl_sf_result* result); | ||
32 | -- | ||
33 | -- <http://www.google.com/search?q=gsl_sf_debye_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
34 | debye_1_e :: Double -> (Double,Double) | ||
35 | debye_1_e x = createSFR "debye_1_e" $ gsl_sf_debye_1_e x | ||
36 | foreign import ccall "debye.h gsl_sf_debye_1_e" gsl_sf_debye_1_e :: Double -> Ptr Double -> IO(Int) | ||
37 | |||
38 | -- | wrapper for double gsl_sf_debye_1(double x); | ||
39 | -- | ||
40 | -- <http://www.google.com/search?q=gsl_sf_debye_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
41 | debye_1 :: Double -> Double | ||
42 | debye_1 = gsl_sf_debye_1 | ||
43 | foreign import ccall "debye.h gsl_sf_debye_1" gsl_sf_debye_1 :: Double -> Double | ||
44 | |||
45 | -- | wrapper for int gsl_sf_debye_2_e(double x,gsl_sf_result* result); | ||
46 | -- | ||
47 | -- <http://www.google.com/search?q=gsl_sf_debye_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
48 | debye_2_e :: Double -> (Double,Double) | ||
49 | debye_2_e x = createSFR "debye_2_e" $ gsl_sf_debye_2_e x | ||
50 | foreign import ccall "debye.h gsl_sf_debye_2_e" gsl_sf_debye_2_e :: Double -> Ptr Double -> IO(Int) | ||
51 | |||
52 | -- | wrapper for double gsl_sf_debye_2(double x); | ||
53 | -- | ||
54 | -- <http://www.google.com/search?q=gsl_sf_debye_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
55 | debye_2 :: Double -> Double | ||
56 | debye_2 = gsl_sf_debye_2 | ||
57 | foreign import ccall "debye.h gsl_sf_debye_2" gsl_sf_debye_2 :: Double -> Double | ||
58 | |||
59 | -- | wrapper for int gsl_sf_debye_3_e(double x,gsl_sf_result* result); | ||
60 | -- | ||
61 | -- <http://www.google.com/search?q=gsl_sf_debye_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
62 | debye_3_e :: Double -> (Double,Double) | ||
63 | debye_3_e x = createSFR "debye_3_e" $ gsl_sf_debye_3_e x | ||
64 | foreign import ccall "debye.h gsl_sf_debye_3_e" gsl_sf_debye_3_e :: Double -> Ptr Double -> IO(Int) | ||
65 | |||
66 | -- | wrapper for double gsl_sf_debye_3(double x); | ||
67 | -- | ||
68 | -- <http://www.google.com/search?q=gsl_sf_debye_3&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
69 | debye_3 :: Double -> Double | ||
70 | debye_3 = gsl_sf_debye_3 | ||
71 | foreign import ccall "debye.h gsl_sf_debye_3" gsl_sf_debye_3 :: Double -> Double | ||
72 | |||
73 | -- | wrapper for int gsl_sf_debye_4_e(double x,gsl_sf_result* result); | ||
74 | -- | ||
75 | -- <http://www.google.com/search?q=gsl_sf_debye_4_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
76 | debye_4_e :: Double -> (Double,Double) | ||
77 | debye_4_e x = createSFR "debye_4_e" $ gsl_sf_debye_4_e x | ||
78 | foreign import ccall "debye.h gsl_sf_debye_4_e" gsl_sf_debye_4_e :: Double -> Ptr Double -> IO(Int) | ||
79 | |||
80 | -- | wrapper for double gsl_sf_debye_4(double x); | ||
81 | -- | ||
82 | -- <http://www.google.com/search?q=gsl_sf_debye_4&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
83 | debye_4 :: Double -> Double | ||
84 | debye_4 = gsl_sf_debye_4 | ||
85 | foreign import ccall "debye.h gsl_sf_debye_4" gsl_sf_debye_4 :: Double -> Double | ||
diff --git a/lib/GSL/Special/Dilog.hs b/lib/GSL/Special/Dilog.hs deleted file mode 100644 index 5575895..0000000 --- a/lib/GSL/Special/Dilog.hs +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Dilog | ||
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.google.com/search?q=gsl_sf_dilog.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Dilog( | ||
18 | dilog_e | ||
19 | , dilog | ||
20 | ) where | ||
21 | |||
22 | import Foreign(Ptr) | ||
23 | import GSL.Special.Internal | ||
24 | |||
25 | -- | wrapper for int gsl_sf_dilog_e(double x,gsl_sf_result* result); | ||
26 | -- | ||
27 | -- <http://www.google.com/search?q=gsl_sf_dilog_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
28 | dilog_e :: Double -> (Double,Double) | ||
29 | dilog_e x = createSFR "dilog_e" $ gsl_sf_dilog_e x | ||
30 | foreign import ccall "dilog.h gsl_sf_dilog_e" gsl_sf_dilog_e :: Double -> Ptr Double -> IO(Int) | ||
31 | |||
32 | -- | wrapper for double gsl_sf_dilog(double x); | ||
33 | -- | ||
34 | -- <http://www.google.com/search?q=gsl_sf_dilog&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
35 | dilog :: Double -> Double | ||
36 | dilog = gsl_sf_dilog | ||
37 | foreign import ccall "dilog.h gsl_sf_dilog" gsl_sf_dilog :: Double -> Double | ||
38 | |||
39 | -- | wrapper for int gsl_sf_complex_dilog_xy_e(double x,double y,gsl_sf_result* result_re,gsl_sf_result* result_im); | ||
40 | -- | ||
41 | -- <http://www.google.com/search?q=gsl_sf_complex_dilog_xy_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
42 | complex_dilog_xy_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
43 | complex_dilog_xy_e x y result_re = createSFR "complex_dilog_xy_e" $ gsl_sf_complex_dilog_xy_e x y result_re | ||
44 | foreign import ccall "dilog.h gsl_sf_complex_dilog_xy_e" gsl_sf_complex_dilog_xy_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
45 | |||
46 | -- | wrapper for int gsl_sf_complex_dilog_e(double r,double theta,gsl_sf_result* result_re,gsl_sf_result* result_im); | ||
47 | -- | ||
48 | -- <http://www.google.com/search?q=gsl_sf_complex_dilog_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
49 | complex_dilog_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
50 | complex_dilog_e r theta result_re = createSFR "complex_dilog_e" $ gsl_sf_complex_dilog_e r theta result_re | ||
51 | foreign import ccall "dilog.h gsl_sf_complex_dilog_e" gsl_sf_complex_dilog_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
52 | |||
53 | -- | wrapper for int gsl_sf_complex_spence_xy_e(double x,double y,gsl_sf_result* real_sp,gsl_sf_result* imag_sp); | ||
54 | -- | ||
55 | -- <http://www.google.com/search?q=gsl_sf_complex_spence_xy_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
56 | complex_spence_xy_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
57 | complex_spence_xy_e x y real_sp = createSFR "complex_spence_xy_e" $ gsl_sf_complex_spence_xy_e x y real_sp | ||
58 | foreign import ccall "dilog.h gsl_sf_complex_spence_xy_e" gsl_sf_complex_spence_xy_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
diff --git a/lib/GSL/Special/Elementary.hs b/lib/GSL/Special/Elementary.hs deleted file mode 100644 index da927a2..0000000 --- a/lib/GSL/Special/Elementary.hs +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Elementary | ||
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.google.com/search?q=gsl_sf_elementary.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Elementary( | ||
18 | multiply_e | ||
19 | , multiply | ||
20 | , multiply_err_e | ||
21 | ) where | ||
22 | |||
23 | import Foreign(Ptr) | ||
24 | import GSL.Special.Internal | ||
25 | |||
26 | -- | wrapper for int gsl_sf_multiply_e(double x,double y,gsl_sf_result* result); | ||
27 | -- | ||
28 | -- <http://www.google.com/search?q=gsl_sf_multiply_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
29 | multiply_e :: Double -> Double -> (Double,Double) | ||
30 | multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y | ||
31 | foreign import ccall "elementary.h gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
32 | |||
33 | -- | wrapper for double gsl_sf_multiply(double x,double y); | ||
34 | -- | ||
35 | -- <http://www.google.com/search?q=gsl_sf_multiply&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
36 | multiply :: Double -> Double -> Double | ||
37 | multiply = gsl_sf_multiply | ||
38 | foreign import ccall "elementary.h gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double | ||
39 | |||
40 | -- | wrapper for int gsl_sf_multiply_err_e(double x,double dx,double y,double dy,gsl_sf_result* result); | ||
41 | -- | ||
42 | -- <http://www.google.com/search?q=gsl_sf_multiply_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
43 | multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) | ||
44 | multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy | ||
45 | foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
diff --git a/lib/GSL/Special/Ellint.hs b/lib/GSL/Special/Ellint.hs deleted file mode 100644 index dddbe21..0000000 --- a/lib/GSL/Special/Ellint.hs +++ /dev/null | |||
@@ -1,181 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Ellint | ||
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.google.com/search?q=gsl_sf_ellint.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Ellint( | ||
18 | ellint_Kcomp_e | ||
19 | , ellint_Kcomp | ||
20 | , ellint_Ecomp_e | ||
21 | , ellint_Ecomp | ||
22 | , ellint_F_e | ||
23 | , ellint_F | ||
24 | , ellint_E_e | ||
25 | , ellint_E | ||
26 | , ellint_P_e | ||
27 | , ellint_P | ||
28 | , ellint_D_e | ||
29 | , ellint_D | ||
30 | , ellint_RC_e | ||
31 | , ellint_RC | ||
32 | , ellint_RD_e | ||
33 | , ellint_RD | ||
34 | , ellint_RF_e | ||
35 | , ellint_RF | ||
36 | , ellint_RJ_e | ||
37 | , ellint_RJ | ||
38 | ) where | ||
39 | |||
40 | import Foreign(Ptr) | ||
41 | import GSL.Special.Internal | ||
42 | |||
43 | -- | wrapper for int gsl_sf_ellint_Kcomp_e(double k,gsl_mode_t mode,gsl_sf_result* result); | ||
44 | -- | ||
45 | -- <http://www.google.com/search?q=gsl_sf_ellint_Kcomp_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
46 | ellint_Kcomp_e :: Double -> Precision -> (Double,Double) | ||
47 | ellint_Kcomp_e k mode = createSFR "ellint_Kcomp_e" $ gsl_sf_ellint_Kcomp_e k (precCode mode) | ||
48 | foreign import ccall "ellint.h gsl_sf_ellint_Kcomp_e" gsl_sf_ellint_Kcomp_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
49 | |||
50 | -- | wrapper for double gsl_sf_ellint_Kcomp(double k,gsl_mode_t mode); | ||
51 | -- | ||
52 | -- <http://www.google.com/search?q=gsl_sf_ellint_Kcomp&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
53 | ellint_Kcomp :: Double -> Precision -> Double | ||
54 | ellint_Kcomp k mode = gsl_sf_ellint_Kcomp k (precCode mode) | ||
55 | foreign import ccall "ellint.h gsl_sf_ellint_Kcomp" gsl_sf_ellint_Kcomp :: Double -> Gsl_mode_t -> Double | ||
56 | |||
57 | -- | wrapper for int gsl_sf_ellint_Ecomp_e(double k,gsl_mode_t mode,gsl_sf_result* result); | ||
58 | -- | ||
59 | -- <http://www.google.com/search?q=gsl_sf_ellint_Ecomp_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
60 | ellint_Ecomp_e :: Double -> Precision -> (Double,Double) | ||
61 | ellint_Ecomp_e k mode = createSFR "ellint_Ecomp_e" $ gsl_sf_ellint_Ecomp_e k (precCode mode) | ||
62 | foreign import ccall "ellint.h gsl_sf_ellint_Ecomp_e" gsl_sf_ellint_Ecomp_e :: Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
63 | |||
64 | -- | wrapper for double gsl_sf_ellint_Ecomp(double k,gsl_mode_t mode); | ||
65 | -- | ||
66 | -- <http://www.google.com/search?q=gsl_sf_ellint_Ecomp&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
67 | ellint_Ecomp :: Double -> Precision -> Double | ||
68 | ellint_Ecomp k mode = gsl_sf_ellint_Ecomp k (precCode mode) | ||
69 | foreign import ccall "ellint.h gsl_sf_ellint_Ecomp" gsl_sf_ellint_Ecomp :: Double -> Gsl_mode_t -> Double | ||
70 | |||
71 | -- | wrapper for int gsl_sf_ellint_F_e(double phi,double k,gsl_mode_t mode,gsl_sf_result* result); | ||
72 | -- | ||
73 | -- <http://www.google.com/search?q=gsl_sf_ellint_F_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
74 | ellint_F_e :: Double -> Double -> Precision -> (Double,Double) | ||
75 | ellint_F_e phi k mode = createSFR "ellint_F_e" $ gsl_sf_ellint_F_e phi k (precCode mode) | ||
76 | foreign import ccall "ellint.h gsl_sf_ellint_F_e" gsl_sf_ellint_F_e :: Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
77 | |||
78 | -- | wrapper for double gsl_sf_ellint_F(double phi,double k,gsl_mode_t mode); | ||
79 | -- | ||
80 | -- <http://www.google.com/search?q=gsl_sf_ellint_F&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
81 | ellint_F :: Double -> Double -> Precision -> Double | ||
82 | ellint_F phi k mode = gsl_sf_ellint_F phi k (precCode mode) | ||
83 | foreign import ccall "ellint.h gsl_sf_ellint_F" gsl_sf_ellint_F :: Double -> Double -> Gsl_mode_t -> Double | ||
84 | |||
85 | -- | wrapper for int gsl_sf_ellint_E_e(double phi,double k,gsl_mode_t mode,gsl_sf_result* result); | ||
86 | -- | ||
87 | -- <http://www.google.com/search?q=gsl_sf_ellint_E_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
88 | ellint_E_e :: Double -> Double -> Precision -> (Double,Double) | ||
89 | ellint_E_e phi k mode = createSFR "ellint_E_e" $ gsl_sf_ellint_E_e phi k (precCode mode) | ||
90 | foreign import ccall "ellint.h gsl_sf_ellint_E_e" gsl_sf_ellint_E_e :: Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
91 | |||
92 | -- | wrapper for double gsl_sf_ellint_E(double phi,double k,gsl_mode_t mode); | ||
93 | -- | ||
94 | -- <http://www.google.com/search?q=gsl_sf_ellint_E&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
95 | ellint_E :: Double -> Double -> Precision -> Double | ||
96 | ellint_E phi k mode = gsl_sf_ellint_E phi k (precCode mode) | ||
97 | foreign import ccall "ellint.h gsl_sf_ellint_E" gsl_sf_ellint_E :: Double -> Double -> Gsl_mode_t -> Double | ||
98 | |||
99 | -- | wrapper for int gsl_sf_ellint_P_e(double phi,double k,double n,gsl_mode_t mode,gsl_sf_result* result); | ||
100 | -- | ||
101 | -- <http://www.google.com/search?q=gsl_sf_ellint_P_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
102 | ellint_P_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
103 | ellint_P_e phi k n mode = createSFR "ellint_P_e" $ gsl_sf_ellint_P_e phi k n (precCode mode) | ||
104 | foreign import ccall "ellint.h gsl_sf_ellint_P_e" gsl_sf_ellint_P_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
105 | |||
106 | -- | wrapper for double gsl_sf_ellint_P(double phi,double k,double n,gsl_mode_t mode); | ||
107 | -- | ||
108 | -- <http://www.google.com/search?q=gsl_sf_ellint_P&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
109 | ellint_P :: Double -> Double -> Double -> Precision -> Double | ||
110 | ellint_P phi k n mode = gsl_sf_ellint_P phi k n (precCode mode) | ||
111 | foreign import ccall "ellint.h gsl_sf_ellint_P" gsl_sf_ellint_P :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
112 | |||
113 | -- | wrapper for int gsl_sf_ellint_D_e(double phi,double k,double n,gsl_mode_t mode,gsl_sf_result* result); | ||
114 | -- | ||
115 | -- <http://www.google.com/search?q=gsl_sf_ellint_D_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
116 | ellint_D_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
117 | ellint_D_e phi k n mode = createSFR "ellint_D_e" $ gsl_sf_ellint_D_e phi k n (precCode mode) | ||
118 | foreign import ccall "ellint.h gsl_sf_ellint_D_e" gsl_sf_ellint_D_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
119 | |||
120 | -- | wrapper for double gsl_sf_ellint_D(double phi,double k,double n,gsl_mode_t mode); | ||
121 | -- | ||
122 | -- <http://www.google.com/search?q=gsl_sf_ellint_D&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
123 | ellint_D :: Double -> Double -> Double -> Precision -> Double | ||
124 | ellint_D phi k n mode = gsl_sf_ellint_D phi k n (precCode mode) | ||
125 | foreign import ccall "ellint.h gsl_sf_ellint_D" gsl_sf_ellint_D :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
126 | |||
127 | -- | wrapper for int gsl_sf_ellint_RC_e(double x,double y,gsl_mode_t mode,gsl_sf_result* result); | ||
128 | -- | ||
129 | -- <http://www.google.com/search?q=gsl_sf_ellint_RC_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
130 | ellint_RC_e :: Double -> Double -> Precision -> (Double,Double) | ||
131 | ellint_RC_e x y mode = createSFR "ellint_RC_e" $ gsl_sf_ellint_RC_e x y (precCode mode) | ||
132 | foreign import ccall "ellint.h gsl_sf_ellint_RC_e" gsl_sf_ellint_RC_e :: Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
133 | |||
134 | -- | wrapper for double gsl_sf_ellint_RC(double x,double y,gsl_mode_t mode); | ||
135 | -- | ||
136 | -- <http://www.google.com/search?q=gsl_sf_ellint_RC&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
137 | ellint_RC :: Double -> Double -> Precision -> Double | ||
138 | ellint_RC x y mode = gsl_sf_ellint_RC x y (precCode mode) | ||
139 | foreign import ccall "ellint.h gsl_sf_ellint_RC" gsl_sf_ellint_RC :: Double -> Double -> Gsl_mode_t -> Double | ||
140 | |||
141 | -- | wrapper for int gsl_sf_ellint_RD_e(double x,double y,double z,gsl_mode_t mode,gsl_sf_result* result); | ||
142 | -- | ||
143 | -- <http://www.google.com/search?q=gsl_sf_ellint_RD_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
144 | ellint_RD_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
145 | ellint_RD_e x y z mode = createSFR "ellint_RD_e" $ gsl_sf_ellint_RD_e x y z (precCode mode) | ||
146 | foreign import ccall "ellint.h gsl_sf_ellint_RD_e" gsl_sf_ellint_RD_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
147 | |||
148 | -- | wrapper for double gsl_sf_ellint_RD(double x,double y,double z,gsl_mode_t mode); | ||
149 | -- | ||
150 | -- <http://www.google.com/search?q=gsl_sf_ellint_RD&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
151 | ellint_RD :: Double -> Double -> Double -> Precision -> Double | ||
152 | ellint_RD x y z mode = gsl_sf_ellint_RD x y z (precCode mode) | ||
153 | foreign import ccall "ellint.h gsl_sf_ellint_RD" gsl_sf_ellint_RD :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
154 | |||
155 | -- | wrapper for int gsl_sf_ellint_RF_e(double x,double y,double z,gsl_mode_t mode,gsl_sf_result* result); | ||
156 | -- | ||
157 | -- <http://www.google.com/search?q=gsl_sf_ellint_RF_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
158 | ellint_RF_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
159 | ellint_RF_e x y z mode = createSFR "ellint_RF_e" $ gsl_sf_ellint_RF_e x y z (precCode mode) | ||
160 | foreign import ccall "ellint.h gsl_sf_ellint_RF_e" gsl_sf_ellint_RF_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
161 | |||
162 | -- | wrapper for double gsl_sf_ellint_RF(double x,double y,double z,gsl_mode_t mode); | ||
163 | -- | ||
164 | -- <http://www.google.com/search?q=gsl_sf_ellint_RF&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
165 | ellint_RF :: Double -> Double -> Double -> Precision -> Double | ||
166 | ellint_RF x y z mode = gsl_sf_ellint_RF x y z (precCode mode) | ||
167 | foreign import ccall "ellint.h gsl_sf_ellint_RF" gsl_sf_ellint_RF :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
168 | |||
169 | -- | wrapper for int gsl_sf_ellint_RJ_e(double x,double y,double z,double p,gsl_mode_t mode,gsl_sf_result* result); | ||
170 | -- | ||
171 | -- <http://www.google.com/search?q=gsl_sf_ellint_RJ_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
172 | ellint_RJ_e :: Double -> Double -> Double -> Double -> Precision -> (Double,Double) | ||
173 | ellint_RJ_e x y z p mode = createSFR "ellint_RJ_e" $ gsl_sf_ellint_RJ_e x y z p (precCode mode) | ||
174 | foreign import ccall "ellint.h gsl_sf_ellint_RJ_e" gsl_sf_ellint_RJ_e :: Double -> Double -> Double -> Double -> Gsl_mode_t -> Ptr Double -> IO(Int) | ||
175 | |||
176 | -- | wrapper for double gsl_sf_ellint_RJ(double x,double y,double z,double p,gsl_mode_t mode); | ||
177 | -- | ||
178 | -- <http://www.google.com/search?q=gsl_sf_ellint_RJ&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
179 | ellint_RJ :: Double -> Double -> Double -> Double -> Precision -> Double | ||
180 | ellint_RJ x y z p mode = gsl_sf_ellint_RJ x y z p (precCode mode) | ||
181 | foreign import ccall "ellint.h gsl_sf_ellint_RJ" gsl_sf_ellint_RJ :: Double -> Double -> Double -> Double -> Gsl_mode_t -> Double | ||
diff --git a/lib/GSL/Special/Erf.hs b/lib/GSL/Special/Erf.hs deleted file mode 100644 index 6dc5abb..0000000 --- a/lib/GSL/Special/Erf.hs +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Erf | ||
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.google.com/search?q=gsl_sf_erf.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Erf( | ||
18 | erfc_e | ||
19 | , erfc | ||
20 | , log_erfc_e | ||
21 | , log_erfc | ||
22 | , erf_e | ||
23 | , erf | ||
24 | , erf_Z_e | ||
25 | , erf_Q_e | ||
26 | , erf_Z | ||
27 | , erf_Q | ||
28 | , hazard_e | ||
29 | , hazard | ||
30 | ) where | ||
31 | |||
32 | import Foreign(Ptr) | ||
33 | import GSL.Special.Internal | ||
34 | |||
35 | -- | wrapper for int gsl_sf_erfc_e(double x,gsl_sf_result* result); | ||
36 | -- | ||
37 | -- <http://www.google.com/search?q=gsl_sf_erfc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
38 | erfc_e :: Double -> (Double,Double) | ||
39 | erfc_e x = createSFR "erfc_e" $ gsl_sf_erfc_e x | ||
40 | foreign import ccall "erf.h gsl_sf_erfc_e" gsl_sf_erfc_e :: Double -> Ptr Double -> IO(Int) | ||
41 | |||
42 | -- | wrapper for double gsl_sf_erfc(double x); | ||
43 | -- | ||
44 | -- <http://www.google.com/search?q=gsl_sf_erfc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
45 | erfc :: Double -> Double | ||
46 | erfc = gsl_sf_erfc | ||
47 | foreign import ccall "erf.h gsl_sf_erfc" gsl_sf_erfc :: Double -> Double | ||
48 | |||
49 | -- | wrapper for int gsl_sf_log_erfc_e(double x,gsl_sf_result* result); | ||
50 | -- | ||
51 | -- <http://www.google.com/search?q=gsl_sf_log_erfc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
52 | log_erfc_e :: Double -> (Double,Double) | ||
53 | log_erfc_e x = createSFR "log_erfc_e" $ gsl_sf_log_erfc_e x | ||
54 | foreign import ccall "erf.h gsl_sf_log_erfc_e" gsl_sf_log_erfc_e :: Double -> Ptr Double -> IO(Int) | ||
55 | |||
56 | -- | wrapper for double gsl_sf_log_erfc(double x); | ||
57 | -- | ||
58 | -- <http://www.google.com/search?q=gsl_sf_log_erfc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
59 | log_erfc :: Double -> Double | ||
60 | log_erfc = gsl_sf_log_erfc | ||
61 | foreign import ccall "erf.h gsl_sf_log_erfc" gsl_sf_log_erfc :: Double -> Double | ||
62 | |||
63 | -- | wrapper for int gsl_sf_erf_e(double x,gsl_sf_result* result); | ||
64 | -- | ||
65 | -- <http://www.google.com/search?q=gsl_sf_erf_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
66 | erf_e :: Double -> (Double,Double) | ||
67 | erf_e x = createSFR "erf_e" $ gsl_sf_erf_e x | ||
68 | foreign import ccall "erf.h gsl_sf_erf_e" gsl_sf_erf_e :: Double -> Ptr Double -> IO(Int) | ||
69 | |||
70 | -- | wrapper for double gsl_sf_erf(double x); | ||
71 | -- | ||
72 | -- <http://www.google.com/search?q=gsl_sf_erf&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
73 | erf :: Double -> Double | ||
74 | erf = gsl_sf_erf | ||
75 | foreign import ccall "erf.h gsl_sf_erf" gsl_sf_erf :: Double -> Double | ||
76 | |||
77 | -- | wrapper for int gsl_sf_erf_Z_e(double x,gsl_sf_result* result); | ||
78 | -- | ||
79 | -- <http://www.google.com/search?q=gsl_sf_erf_Z_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
80 | erf_Z_e :: Double -> (Double,Double) | ||
81 | erf_Z_e x = createSFR "erf_Z_e" $ gsl_sf_erf_Z_e x | ||
82 | foreign import ccall "erf.h gsl_sf_erf_Z_e" gsl_sf_erf_Z_e :: Double -> Ptr Double -> IO(Int) | ||
83 | |||
84 | -- | wrapper for int gsl_sf_erf_Q_e(double x,gsl_sf_result* result); | ||
85 | -- | ||
86 | -- <http://www.google.com/search?q=gsl_sf_erf_Q_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
87 | erf_Q_e :: Double -> (Double,Double) | ||
88 | erf_Q_e x = createSFR "erf_Q_e" $ gsl_sf_erf_Q_e x | ||
89 | foreign import ccall "erf.h gsl_sf_erf_Q_e" gsl_sf_erf_Q_e :: Double -> Ptr Double -> IO(Int) | ||
90 | |||
91 | -- | wrapper for double gsl_sf_erf_Z(double x); | ||
92 | -- | ||
93 | -- <http://www.google.com/search?q=gsl_sf_erf_Z&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
94 | erf_Z :: Double -> Double | ||
95 | erf_Z = gsl_sf_erf_Z | ||
96 | foreign import ccall "erf.h gsl_sf_erf_Z" gsl_sf_erf_Z :: Double -> Double | ||
97 | |||
98 | -- | wrapper for double gsl_sf_erf_Q(double x); | ||
99 | -- | ||
100 | -- <http://www.google.com/search?q=gsl_sf_erf_Q&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
101 | erf_Q :: Double -> Double | ||
102 | erf_Q = gsl_sf_erf_Q | ||
103 | foreign import ccall "erf.h gsl_sf_erf_Q" gsl_sf_erf_Q :: Double -> Double | ||
104 | |||
105 | -- | wrapper for int gsl_sf_hazard_e(double x,gsl_sf_result* result); | ||
106 | -- | ||
107 | -- <http://www.google.com/search?q=gsl_sf_hazard_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
108 | hazard_e :: Double -> (Double,Double) | ||
109 | hazard_e x = createSFR "hazard_e" $ gsl_sf_hazard_e x | ||
110 | foreign import ccall "erf.h gsl_sf_hazard_e" gsl_sf_hazard_e :: Double -> Ptr Double -> IO(Int) | ||
111 | |||
112 | -- | wrapper for double gsl_sf_hazard(double x); | ||
113 | -- | ||
114 | -- <http://www.google.com/search?q=gsl_sf_hazard&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
115 | hazard :: Double -> Double | ||
116 | hazard = gsl_sf_hazard | ||
117 | foreign import ccall "erf.h gsl_sf_hazard" gsl_sf_hazard :: Double -> Double | ||
diff --git a/lib/GSL/Special/Exp.hs b/lib/GSL/Special/Exp.hs deleted file mode 100644 index 8c3e5b8..0000000 --- a/lib/GSL/Special/Exp.hs +++ /dev/null | |||
@@ -1,129 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Exp | ||
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/Exponential-Functions.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Exp( | ||
18 | exp_e | ||
19 | , GSL.Special.Exp.exp | ||
20 | , exp_e10_e | ||
21 | , exp_mult_e | ||
22 | , exp_mult | ||
23 | , exp_mult_e10_e | ||
24 | , expm1_e | ||
25 | , expm1 | ||
26 | , exprel_e | ||
27 | , exprel | ||
28 | , exprel_2_e | ||
29 | , exprel_2 | ||
30 | , exprel_n_e | ||
31 | , exprel_n | ||
32 | , exp_err_e | ||
33 | , exp_err_e10_e | ||
34 | , exp_mult_err_e | ||
35 | , exp_mult_err_e10_e | ||
36 | ) where | ||
37 | |||
38 | import Foreign(Ptr) | ||
39 | import GSL.Special.Internal | ||
40 | |||
41 | -- | wrapper for int gsl_sf_exp_e(double x,gsl_sf_result* result); | ||
42 | exp_e :: Double -> (Double,Double) | ||
43 | exp_e x = createSFR "exp_e" $ gsl_sf_exp_e x | ||
44 | foreign import ccall "exp.h gsl_sf_exp_e" gsl_sf_exp_e :: Double -> Ptr Double -> IO(Int) | ||
45 | |||
46 | -- | wrapper for double gsl_sf_exp(double x); | ||
47 | exp :: Double -> Double | ||
48 | exp = gsl_sf_exp | ||
49 | foreign import ccall "exp.h gsl_sf_exp" gsl_sf_exp :: Double -> Double | ||
50 | |||
51 | -- | wrapper for int gsl_sf_exp_e10_e(double x,gsl_sf_result_e10* result); | ||
52 | exp_e10_e :: Double -> (Double,Int,Double) | ||
53 | exp_e10_e x = createSFR_E10 "exp_e10_e" $ gsl_sf_exp_e10_e x | ||
54 | foreign import ccall "exp.h gsl_sf_exp_e10_e" gsl_sf_exp_e10_e :: Double -> Ptr () -> IO(Int) | ||
55 | |||
56 | -- | wrapper for int gsl_sf_exp_mult_e(double x,double y,gsl_sf_result* result); | ||
57 | exp_mult_e :: Double -> Double -> (Double,Double) | ||
58 | exp_mult_e x y = createSFR "exp_mult_e" $ gsl_sf_exp_mult_e x y | ||
59 | foreign import ccall "exp.h gsl_sf_exp_mult_e" gsl_sf_exp_mult_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
60 | |||
61 | -- | wrapper for double gsl_sf_exp_mult(double x,double y); | ||
62 | exp_mult :: Double -> Double -> Double | ||
63 | exp_mult = gsl_sf_exp_mult | ||
64 | foreign import ccall "exp.h gsl_sf_exp_mult" gsl_sf_exp_mult :: Double -> Double -> Double | ||
65 | |||
66 | -- | wrapper for int gsl_sf_exp_mult_e10_e(double x,double y,gsl_sf_result_e10* result); | ||
67 | exp_mult_e10_e :: Double -> Double -> (Double,Int,Double) | ||
68 | exp_mult_e10_e x y = createSFR_E10 "exp_mult_e10_e" $ gsl_sf_exp_mult_e10_e x y | ||
69 | foreign import ccall "exp.h gsl_sf_exp_mult_e10_e" gsl_sf_exp_mult_e10_e :: Double -> Double -> Ptr () -> IO(Int) | ||
70 | |||
71 | -- | wrapper for int gsl_sf_expm1_e(double x,gsl_sf_result* result); | ||
72 | expm1_e :: Double -> (Double,Double) | ||
73 | expm1_e x = createSFR "expm1_e" $ gsl_sf_expm1_e x | ||
74 | foreign import ccall "exp.h gsl_sf_expm1_e" gsl_sf_expm1_e :: Double -> Ptr Double -> IO(Int) | ||
75 | |||
76 | -- | wrapper for double gsl_sf_expm1(double x); | ||
77 | expm1 :: Double -> Double | ||
78 | expm1 = gsl_sf_expm1 | ||
79 | foreign import ccall "exp.h gsl_sf_expm1" gsl_sf_expm1 :: Double -> Double | ||
80 | |||
81 | -- | wrapper for int gsl_sf_exprel_e(double x,gsl_sf_result* result); | ||
82 | exprel_e :: Double -> (Double,Double) | ||
83 | exprel_e x = createSFR "exprel_e" $ gsl_sf_exprel_e x | ||
84 | foreign import ccall "exp.h gsl_sf_exprel_e" gsl_sf_exprel_e :: Double -> Ptr Double -> IO(Int) | ||
85 | |||
86 | -- | wrapper for double gsl_sf_exprel(double x); | ||
87 | exprel :: Double -> Double | ||
88 | exprel = gsl_sf_exprel | ||
89 | foreign import ccall "exp.h gsl_sf_exprel" gsl_sf_exprel :: Double -> Double | ||
90 | |||
91 | -- | wrapper for int gsl_sf_exprel_2_e(double x,gsl_sf_result* result); | ||
92 | exprel_2_e :: Double -> (Double,Double) | ||
93 | exprel_2_e x = createSFR "exprel_2_e" $ gsl_sf_exprel_2_e x | ||
94 | foreign import ccall "exp.h gsl_sf_exprel_2_e" gsl_sf_exprel_2_e :: Double -> Ptr Double -> IO(Int) | ||
95 | |||
96 | -- | wrapper for double gsl_sf_exprel_2(double x); | ||
97 | exprel_2 :: Double -> Double | ||
98 | exprel_2 = gsl_sf_exprel_2 | ||
99 | foreign import ccall "exp.h gsl_sf_exprel_2" gsl_sf_exprel_2 :: Double -> Double | ||
100 | |||
101 | -- | wrapper for int gsl_sf_exprel_n_e(int n,double x,gsl_sf_result* result); | ||
102 | exprel_n_e :: Int -> Double -> (Double,Double) | ||
103 | exprel_n_e n x = createSFR "exprel_n_e" $ gsl_sf_exprel_n_e n x | ||
104 | foreign import ccall "exp.h gsl_sf_exprel_n_e" gsl_sf_exprel_n_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
105 | |||
106 | -- | wrapper for double gsl_sf_exprel_n(int n,double x); | ||
107 | exprel_n :: Int -> Double -> Double | ||
108 | exprel_n = gsl_sf_exprel_n | ||
109 | foreign import ccall "exp.h gsl_sf_exprel_n" gsl_sf_exprel_n :: Int -> Double -> Double | ||
110 | |||
111 | -- | wrapper for int gsl_sf_exp_err_e(double x,double dx,gsl_sf_result* result); | ||
112 | exp_err_e :: Double -> Double -> (Double,Double) | ||
113 | exp_err_e x dx = createSFR "exp_err_e" $ gsl_sf_exp_err_e x dx | ||
114 | foreign import ccall "exp.h gsl_sf_exp_err_e" gsl_sf_exp_err_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
115 | |||
116 | -- | wrapper for int gsl_sf_exp_err_e10_e(double x,double dx,gsl_sf_result_e10* result); | ||
117 | exp_err_e10_e :: Double -> Double -> (Double,Int,Double) | ||
118 | exp_err_e10_e x dx = createSFR_E10 "exp_err_e10_e" $ gsl_sf_exp_err_e10_e x dx | ||
119 | foreign import ccall "exp.h gsl_sf_exp_err_e10_e" gsl_sf_exp_err_e10_e :: Double -> Double -> Ptr () -> IO(Int) | ||
120 | |||
121 | -- | wrapper for int gsl_sf_exp_mult_err_e(double x,double dx,double y,double dy,gsl_sf_result* result); | ||
122 | exp_mult_err_e :: Double -> Double -> Double -> Double -> (Double,Double) | ||
123 | exp_mult_err_e x dx y dy = createSFR "exp_mult_err_e" $ gsl_sf_exp_mult_err_e x dx y dy | ||
124 | foreign import ccall "exp.h gsl_sf_exp_mult_err_e" gsl_sf_exp_mult_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
125 | |||
126 | -- | wrapper for int gsl_sf_exp_mult_err_e10_e(double x,double dx,double y,double dy,gsl_sf_result_e10* result); | ||
127 | exp_mult_err_e10_e :: Double -> Double -> Double -> Double -> (Double,Int,Double) | ||
128 | exp_mult_err_e10_e x dx y dy = createSFR_E10 "exp_mult_err_e10_e" $ gsl_sf_exp_mult_err_e10_e x dx y dy | ||
129 | foreign import ccall "exp.h gsl_sf_exp_mult_err_e10_e" gsl_sf_exp_mult_err_e10_e :: Double -> Double -> Double -> Double -> Ptr () -> IO(Int) | ||
diff --git a/lib/GSL/Special/Expint.hs b/lib/GSL/Special/Expint.hs deleted file mode 100644 index 4e1b2b5..0000000 --- a/lib/GSL/Special/Expint.hs +++ /dev/null | |||
@@ -1,213 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Expint | ||
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.google.com/search?q=gsl_sf_expint.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Expint( | ||
18 | expint_E1_e | ||
19 | , expint_E1 | ||
20 | , expint_E2_e | ||
21 | , expint_E2 | ||
22 | , expint_E1_scaled_e | ||
23 | , expint_E1_scaled | ||
24 | , expint_E2_scaled_e | ||
25 | , expint_E2_scaled | ||
26 | , expint_Ei_e | ||
27 | , expint_Ei | ||
28 | , expint_Ei_scaled_e | ||
29 | , expint_Ei_scaled | ||
30 | , shi_e | ||
31 | , shi | ||
32 | , chi_e | ||
33 | , chi | ||
34 | , expint_3_e | ||
35 | , expint_3 | ||
36 | , si_e | ||
37 | , si | ||
38 | , ci_e | ||
39 | , ci | ||
40 | , atanint_e | ||
41 | , atanint | ||
42 | ) where | ||
43 | |||
44 | import Foreign(Ptr) | ||
45 | import GSL.Special.Internal | ||
46 | |||
47 | -- | wrapper for int gsl_sf_expint_E1_e(double x,gsl_sf_result* result); | ||
48 | -- | ||
49 | -- <http://www.google.com/search?q=gsl_sf_expint_E1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
50 | expint_E1_e :: Double -> (Double,Double) | ||
51 | expint_E1_e x = createSFR "expint_E1_e" $ gsl_sf_expint_E1_e x | ||
52 | foreign import ccall "expint.h gsl_sf_expint_E1_e" gsl_sf_expint_E1_e :: Double -> Ptr Double -> IO(Int) | ||
53 | |||
54 | -- | wrapper for double gsl_sf_expint_E1(double x); | ||
55 | -- | ||
56 | -- <http://www.google.com/search?q=gsl_sf_expint_E1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
57 | expint_E1 :: Double -> Double | ||
58 | expint_E1 = gsl_sf_expint_E1 | ||
59 | foreign import ccall "expint.h gsl_sf_expint_E1" gsl_sf_expint_E1 :: Double -> Double | ||
60 | |||
61 | -- | wrapper for int gsl_sf_expint_E2_e(double x,gsl_sf_result* result); | ||
62 | -- | ||
63 | -- <http://www.google.com/search?q=gsl_sf_expint_E2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
64 | expint_E2_e :: Double -> (Double,Double) | ||
65 | expint_E2_e x = createSFR "expint_E2_e" $ gsl_sf_expint_E2_e x | ||
66 | foreign import ccall "expint.h gsl_sf_expint_E2_e" gsl_sf_expint_E2_e :: Double -> Ptr Double -> IO(Int) | ||
67 | |||
68 | -- | wrapper for double gsl_sf_expint_E2(double x); | ||
69 | -- | ||
70 | -- <http://www.google.com/search?q=gsl_sf_expint_E2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
71 | expint_E2 :: Double -> Double | ||
72 | expint_E2 = gsl_sf_expint_E2 | ||
73 | foreign import ccall "expint.h gsl_sf_expint_E2" gsl_sf_expint_E2 :: Double -> Double | ||
74 | |||
75 | -- | wrapper for int gsl_sf_expint_E1_scaled_e(double x,gsl_sf_result* result); | ||
76 | -- | ||
77 | -- <http://www.google.com/search?q=gsl_sf_expint_E1_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
78 | expint_E1_scaled_e :: Double -> (Double,Double) | ||
79 | expint_E1_scaled_e x = createSFR "expint_E1_scaled_e" $ gsl_sf_expint_E1_scaled_e x | ||
80 | foreign import ccall "expint.h gsl_sf_expint_E1_scaled_e" gsl_sf_expint_E1_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
81 | |||
82 | -- | wrapper for double gsl_sf_expint_E1_scaled(double x); | ||
83 | -- | ||
84 | -- <http://www.google.com/search?q=gsl_sf_expint_E1_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
85 | expint_E1_scaled :: Double -> Double | ||
86 | expint_E1_scaled = gsl_sf_expint_E1_scaled | ||
87 | foreign import ccall "expint.h gsl_sf_expint_E1_scaled" gsl_sf_expint_E1_scaled :: Double -> Double | ||
88 | |||
89 | -- | wrapper for int gsl_sf_expint_E2_scaled_e(double x,gsl_sf_result* result); | ||
90 | -- | ||
91 | -- <http://www.google.com/search?q=gsl_sf_expint_E2_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
92 | expint_E2_scaled_e :: Double -> (Double,Double) | ||
93 | expint_E2_scaled_e x = createSFR "expint_E2_scaled_e" $ gsl_sf_expint_E2_scaled_e x | ||
94 | foreign import ccall "expint.h gsl_sf_expint_E2_scaled_e" gsl_sf_expint_E2_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
95 | |||
96 | -- | wrapper for double gsl_sf_expint_E2_scaled(double x); | ||
97 | -- | ||
98 | -- <http://www.google.com/search?q=gsl_sf_expint_E2_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
99 | expint_E2_scaled :: Double -> Double | ||
100 | expint_E2_scaled = gsl_sf_expint_E2_scaled | ||
101 | foreign import ccall "expint.h gsl_sf_expint_E2_scaled" gsl_sf_expint_E2_scaled :: Double -> Double | ||
102 | |||
103 | -- | wrapper for int gsl_sf_expint_Ei_e(double x,gsl_sf_result* result); | ||
104 | -- | ||
105 | -- <http://www.google.com/search?q=gsl_sf_expint_Ei_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
106 | expint_Ei_e :: Double -> (Double,Double) | ||
107 | expint_Ei_e x = createSFR "expint_Ei_e" $ gsl_sf_expint_Ei_e x | ||
108 | foreign import ccall "expint.h gsl_sf_expint_Ei_e" gsl_sf_expint_Ei_e :: Double -> Ptr Double -> IO(Int) | ||
109 | |||
110 | -- | wrapper for double gsl_sf_expint_Ei(double x); | ||
111 | -- | ||
112 | -- <http://www.google.com/search?q=gsl_sf_expint_Ei&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
113 | expint_Ei :: Double -> Double | ||
114 | expint_Ei = gsl_sf_expint_Ei | ||
115 | foreign import ccall "expint.h gsl_sf_expint_Ei" gsl_sf_expint_Ei :: Double -> Double | ||
116 | |||
117 | -- | wrapper for int gsl_sf_expint_Ei_scaled_e(double x,gsl_sf_result* result); | ||
118 | -- | ||
119 | -- <http://www.google.com/search?q=gsl_sf_expint_Ei_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
120 | expint_Ei_scaled_e :: Double -> (Double,Double) | ||
121 | expint_Ei_scaled_e x = createSFR "expint_Ei_scaled_e" $ gsl_sf_expint_Ei_scaled_e x | ||
122 | foreign import ccall "expint.h gsl_sf_expint_Ei_scaled_e" gsl_sf_expint_Ei_scaled_e :: Double -> Ptr Double -> IO(Int) | ||
123 | |||
124 | -- | wrapper for double gsl_sf_expint_Ei_scaled(double x); | ||
125 | -- | ||
126 | -- <http://www.google.com/search?q=gsl_sf_expint_Ei_scaled&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
127 | expint_Ei_scaled :: Double -> Double | ||
128 | expint_Ei_scaled = gsl_sf_expint_Ei_scaled | ||
129 | foreign import ccall "expint.h gsl_sf_expint_Ei_scaled" gsl_sf_expint_Ei_scaled :: Double -> Double | ||
130 | |||
131 | -- | wrapper for int gsl_sf_Shi_e(double x,gsl_sf_result* result); | ||
132 | -- | ||
133 | -- <http://www.google.com/search?q=gsl_sf_Shi_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
134 | shi_e :: Double -> (Double,Double) | ||
135 | shi_e x = createSFR "shi_e" $ gsl_sf_Shi_e x | ||
136 | foreign import ccall "expint.h gsl_sf_Shi_e" gsl_sf_Shi_e :: Double -> Ptr Double -> IO(Int) | ||
137 | |||
138 | -- | wrapper for double gsl_sf_Shi(double x); | ||
139 | -- | ||
140 | -- <http://www.google.com/search?q=gsl_sf_Shi&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
141 | shi :: Double -> Double | ||
142 | shi = gsl_sf_Shi | ||
143 | foreign import ccall "expint.h gsl_sf_Shi" gsl_sf_Shi :: Double -> Double | ||
144 | |||
145 | -- | wrapper for int gsl_sf_Chi_e(double x,gsl_sf_result* result); | ||
146 | -- | ||
147 | -- <http://www.google.com/search?q=gsl_sf_Chi_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
148 | chi_e :: Double -> (Double,Double) | ||
149 | chi_e x = createSFR "chi_e" $ gsl_sf_Chi_e x | ||
150 | foreign import ccall "expint.h gsl_sf_Chi_e" gsl_sf_Chi_e :: Double -> Ptr Double -> IO(Int) | ||
151 | |||
152 | -- | wrapper for double gsl_sf_Chi(double x); | ||
153 | -- | ||
154 | -- <http://www.google.com/search?q=gsl_sf_Chi&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
155 | chi :: Double -> Double | ||
156 | chi = gsl_sf_Chi | ||
157 | foreign import ccall "expint.h gsl_sf_Chi" gsl_sf_Chi :: Double -> Double | ||
158 | |||
159 | -- | wrapper for int gsl_sf_expint_3_e(double x,gsl_sf_result* result); | ||
160 | -- | ||
161 | -- <http://www.google.com/search?q=gsl_sf_expint_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
162 | expint_3_e :: Double -> (Double,Double) | ||
163 | expint_3_e x = createSFR "expint_3_e" $ gsl_sf_expint_3_e x | ||
164 | foreign import ccall "expint.h gsl_sf_expint_3_e" gsl_sf_expint_3_e :: Double -> Ptr Double -> IO(Int) | ||
165 | |||
166 | -- | wrapper for double gsl_sf_expint_3(double x); | ||
167 | -- | ||
168 | -- <http://www.google.com/search?q=gsl_sf_expint_3&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
169 | expint_3 :: Double -> Double | ||
170 | expint_3 = gsl_sf_expint_3 | ||
171 | foreign import ccall "expint.h gsl_sf_expint_3" gsl_sf_expint_3 :: Double -> Double | ||
172 | |||
173 | -- | wrapper for int gsl_sf_Si_e(double x,gsl_sf_result* result); | ||
174 | -- | ||
175 | -- <http://www.google.com/search?q=gsl_sf_Si_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
176 | si_e :: Double -> (Double,Double) | ||
177 | si_e x = createSFR "si_e" $ gsl_sf_Si_e x | ||
178 | foreign import ccall "expint.h gsl_sf_Si_e" gsl_sf_Si_e :: Double -> Ptr Double -> IO(Int) | ||
179 | |||
180 | -- | wrapper for double gsl_sf_Si(double x); | ||
181 | -- | ||
182 | -- <http://www.google.com/search?q=gsl_sf_Si&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
183 | si :: Double -> Double | ||
184 | si = gsl_sf_Si | ||
185 | foreign import ccall "expint.h gsl_sf_Si" gsl_sf_Si :: Double -> Double | ||
186 | |||
187 | -- | wrapper for int gsl_sf_Ci_e(double x,gsl_sf_result* result); | ||
188 | -- | ||
189 | -- <http://www.google.com/search?q=gsl_sf_Ci_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
190 | ci_e :: Double -> (Double,Double) | ||
191 | ci_e x = createSFR "ci_e" $ gsl_sf_Ci_e x | ||
192 | foreign import ccall "expint.h gsl_sf_Ci_e" gsl_sf_Ci_e :: Double -> Ptr Double -> IO(Int) | ||
193 | |||
194 | -- | wrapper for double gsl_sf_Ci(double x); | ||
195 | -- | ||
196 | -- <http://www.google.com/search?q=gsl_sf_Ci&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
197 | ci :: Double -> Double | ||
198 | ci = gsl_sf_Ci | ||
199 | foreign import ccall "expint.h gsl_sf_Ci" gsl_sf_Ci :: Double -> Double | ||
200 | |||
201 | -- | wrapper for int gsl_sf_atanint_e(double x,gsl_sf_result* result); | ||
202 | -- | ||
203 | -- <http://www.google.com/search?q=gsl_sf_atanint_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
204 | atanint_e :: Double -> (Double,Double) | ||
205 | atanint_e x = createSFR "atanint_e" $ gsl_sf_atanint_e x | ||
206 | foreign import ccall "expint.h gsl_sf_atanint_e" gsl_sf_atanint_e :: Double -> Ptr Double -> IO(Int) | ||
207 | |||
208 | -- | wrapper for double gsl_sf_atanint(double x); | ||
209 | -- | ||
210 | -- <http://www.google.com/search?q=gsl_sf_atanint&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
211 | atanint :: Double -> Double | ||
212 | atanint = gsl_sf_atanint | ||
213 | foreign import ccall "expint.h gsl_sf_atanint" gsl_sf_atanint :: Double -> Double | ||
diff --git a/lib/GSL/Special/Fermi_dirac.hs b/lib/GSL/Special/Fermi_dirac.hs deleted file mode 100644 index 18dc3b2..0000000 --- a/lib/GSL/Special/Fermi_dirac.hs +++ /dev/null | |||
@@ -1,165 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Fermi_dirac | ||
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.google.com/search?q=gsl_sf_fermi_dirac.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Fermi_dirac( | ||
18 | fermi_dirac_m1_e | ||
19 | , fermi_dirac_m1 | ||
20 | , fermi_dirac_0_e | ||
21 | , fermi_dirac_0 | ||
22 | , fermi_dirac_1_e | ||
23 | , fermi_dirac_1 | ||
24 | , fermi_dirac_2_e | ||
25 | , fermi_dirac_2 | ||
26 | , fermi_dirac_int_e | ||
27 | , fermi_dirac_int | ||
28 | , fermi_dirac_mhalf_e | ||
29 | , fermi_dirac_mhalf | ||
30 | , fermi_dirac_half_e | ||
31 | , fermi_dirac_half | ||
32 | , fermi_dirac_3half_e | ||
33 | , fermi_dirac_3half | ||
34 | , fermi_dirac_inc_0_e | ||
35 | , fermi_dirac_inc_0 | ||
36 | ) where | ||
37 | |||
38 | import Foreign(Ptr) | ||
39 | import GSL.Special.Internal | ||
40 | |||
41 | -- | wrapper for int gsl_sf_fermi_dirac_m1_e(double x,gsl_sf_result* result); | ||
42 | -- | ||
43 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_m1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
44 | fermi_dirac_m1_e :: Double -> (Double,Double) | ||
45 | fermi_dirac_m1_e x = createSFR "fermi_dirac_m1_e" $ gsl_sf_fermi_dirac_m1_e x | ||
46 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_m1_e" gsl_sf_fermi_dirac_m1_e :: Double -> Ptr Double -> IO(Int) | ||
47 | |||
48 | -- | wrapper for double gsl_sf_fermi_dirac_m1(double x); | ||
49 | -- | ||
50 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_m1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
51 | fermi_dirac_m1 :: Double -> Double | ||
52 | fermi_dirac_m1 = gsl_sf_fermi_dirac_m1 | ||
53 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_m1" gsl_sf_fermi_dirac_m1 :: Double -> Double | ||
54 | |||
55 | -- | wrapper for int gsl_sf_fermi_dirac_0_e(double x,gsl_sf_result* result); | ||
56 | -- | ||
57 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
58 | fermi_dirac_0_e :: Double -> (Double,Double) | ||
59 | fermi_dirac_0_e x = createSFR "fermi_dirac_0_e" $ gsl_sf_fermi_dirac_0_e x | ||
60 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_0_e" gsl_sf_fermi_dirac_0_e :: Double -> Ptr Double -> IO(Int) | ||
61 | |||
62 | -- | wrapper for double gsl_sf_fermi_dirac_0(double x); | ||
63 | -- | ||
64 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
65 | fermi_dirac_0 :: Double -> Double | ||
66 | fermi_dirac_0 = gsl_sf_fermi_dirac_0 | ||
67 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_0" gsl_sf_fermi_dirac_0 :: Double -> Double | ||
68 | |||
69 | -- | wrapper for int gsl_sf_fermi_dirac_1_e(double x,gsl_sf_result* result); | ||
70 | -- | ||
71 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
72 | fermi_dirac_1_e :: Double -> (Double,Double) | ||
73 | fermi_dirac_1_e x = createSFR "fermi_dirac_1_e" $ gsl_sf_fermi_dirac_1_e x | ||
74 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_1_e" gsl_sf_fermi_dirac_1_e :: Double -> Ptr Double -> IO(Int) | ||
75 | |||
76 | -- | wrapper for double gsl_sf_fermi_dirac_1(double x); | ||
77 | -- | ||
78 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
79 | fermi_dirac_1 :: Double -> Double | ||
80 | fermi_dirac_1 = gsl_sf_fermi_dirac_1 | ||
81 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_1" gsl_sf_fermi_dirac_1 :: Double -> Double | ||
82 | |||
83 | -- | wrapper for int gsl_sf_fermi_dirac_2_e(double x,gsl_sf_result* result); | ||
84 | -- | ||
85 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
86 | fermi_dirac_2_e :: Double -> (Double,Double) | ||
87 | fermi_dirac_2_e x = createSFR "fermi_dirac_2_e" $ gsl_sf_fermi_dirac_2_e x | ||
88 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_2_e" gsl_sf_fermi_dirac_2_e :: Double -> Ptr Double -> IO(Int) | ||
89 | |||
90 | -- | wrapper for double gsl_sf_fermi_dirac_2(double x); | ||
91 | -- | ||
92 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
93 | fermi_dirac_2 :: Double -> Double | ||
94 | fermi_dirac_2 = gsl_sf_fermi_dirac_2 | ||
95 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_2" gsl_sf_fermi_dirac_2 :: Double -> Double | ||
96 | |||
97 | -- | wrapper for int gsl_sf_fermi_dirac_int_e(int j,double x,gsl_sf_result* result); | ||
98 | -- | ||
99 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
100 | fermi_dirac_int_e :: Int -> Double -> (Double,Double) | ||
101 | fermi_dirac_int_e j x = createSFR "fermi_dirac_int_e" $ gsl_sf_fermi_dirac_int_e j x | ||
102 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_int_e" gsl_sf_fermi_dirac_int_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
103 | |||
104 | -- | wrapper for double gsl_sf_fermi_dirac_int(int j,double x); | ||
105 | -- | ||
106 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
107 | fermi_dirac_int :: Int -> Double -> Double | ||
108 | fermi_dirac_int = gsl_sf_fermi_dirac_int | ||
109 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_int" gsl_sf_fermi_dirac_int :: Int -> Double -> Double | ||
110 | |||
111 | -- | wrapper for int gsl_sf_fermi_dirac_mhalf_e(double x,gsl_sf_result* result); | ||
112 | -- | ||
113 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_mhalf_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
114 | fermi_dirac_mhalf_e :: Double -> (Double,Double) | ||
115 | fermi_dirac_mhalf_e x = createSFR "fermi_dirac_mhalf_e" $ gsl_sf_fermi_dirac_mhalf_e x | ||
116 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_mhalf_e" gsl_sf_fermi_dirac_mhalf_e :: Double -> Ptr Double -> IO(Int) | ||
117 | |||
118 | -- | wrapper for double gsl_sf_fermi_dirac_mhalf(double x); | ||
119 | -- | ||
120 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_mhalf&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
121 | fermi_dirac_mhalf :: Double -> Double | ||
122 | fermi_dirac_mhalf = gsl_sf_fermi_dirac_mhalf | ||
123 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_mhalf" gsl_sf_fermi_dirac_mhalf :: Double -> Double | ||
124 | |||
125 | -- | wrapper for int gsl_sf_fermi_dirac_half_e(double x,gsl_sf_result* result); | ||
126 | -- | ||
127 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_half_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
128 | fermi_dirac_half_e :: Double -> (Double,Double) | ||
129 | fermi_dirac_half_e x = createSFR "fermi_dirac_half_e" $ gsl_sf_fermi_dirac_half_e x | ||
130 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_half_e" gsl_sf_fermi_dirac_half_e :: Double -> Ptr Double -> IO(Int) | ||
131 | |||
132 | -- | wrapper for double gsl_sf_fermi_dirac_half(double x); | ||
133 | -- | ||
134 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_half&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
135 | fermi_dirac_half :: Double -> Double | ||
136 | fermi_dirac_half = gsl_sf_fermi_dirac_half | ||
137 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_half" gsl_sf_fermi_dirac_half :: Double -> Double | ||
138 | |||
139 | -- | wrapper for int gsl_sf_fermi_dirac_3half_e(double x,gsl_sf_result* result); | ||
140 | -- | ||
141 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_3half_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
142 | fermi_dirac_3half_e :: Double -> (Double,Double) | ||
143 | fermi_dirac_3half_e x = createSFR "fermi_dirac_3half_e" $ gsl_sf_fermi_dirac_3half_e x | ||
144 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_3half_e" gsl_sf_fermi_dirac_3half_e :: Double -> Ptr Double -> IO(Int) | ||
145 | |||
146 | -- | wrapper for double gsl_sf_fermi_dirac_3half(double x); | ||
147 | -- | ||
148 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_3half&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
149 | fermi_dirac_3half :: Double -> Double | ||
150 | fermi_dirac_3half = gsl_sf_fermi_dirac_3half | ||
151 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_3half" gsl_sf_fermi_dirac_3half :: Double -> Double | ||
152 | |||
153 | -- | wrapper for int gsl_sf_fermi_dirac_inc_0_e(double x,double b,gsl_sf_result* result); | ||
154 | -- | ||
155 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_inc_0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
156 | fermi_dirac_inc_0_e :: Double -> Double -> (Double,Double) | ||
157 | fermi_dirac_inc_0_e x b = createSFR "fermi_dirac_inc_0_e" $ gsl_sf_fermi_dirac_inc_0_e x b | ||
158 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_inc_0_e" gsl_sf_fermi_dirac_inc_0_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
159 | |||
160 | -- | wrapper for double gsl_sf_fermi_dirac_inc_0(double x,double b); | ||
161 | -- | ||
162 | -- <http://www.google.com/search?q=gsl_sf_fermi_dirac_inc_0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
163 | fermi_dirac_inc_0 :: Double -> Double -> Double | ||
164 | fermi_dirac_inc_0 = gsl_sf_fermi_dirac_inc_0 | ||
165 | foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_inc_0" gsl_sf_fermi_dirac_inc_0 :: Double -> Double -> Double | ||
diff --git a/lib/GSL/Special/Gamma.hs b/lib/GSL/Special/Gamma.hs deleted file mode 100644 index ae5010d..0000000 --- a/lib/GSL/Special/Gamma.hs +++ /dev/null | |||
@@ -1,362 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Gamma | ||
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.google.com/search?q=gsl_sf_gamma.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Gamma( | ||
18 | lngamma_e | ||
19 | , lngamma | ||
20 | , gamma_e | ||
21 | , gamma | ||
22 | , gammastar_e | ||
23 | , gammastar | ||
24 | , gammainv_e | ||
25 | , gammainv | ||
26 | , taylorcoeff_e | ||
27 | , taylorcoeff | ||
28 | , fact_e | ||
29 | , fact | ||
30 | , doublefact_e | ||
31 | , doublefact | ||
32 | , lnfact_e | ||
33 | , lnfact | ||
34 | , lndoublefact_e | ||
35 | , lndoublefact | ||
36 | , lnchoose_e | ||
37 | , lnchoose | ||
38 | , choose_e | ||
39 | , choose | ||
40 | , lnpoch_e | ||
41 | , lnpoch | ||
42 | , poch_e | ||
43 | , poch | ||
44 | , pochrel_e | ||
45 | , pochrel | ||
46 | , gamma_inc_Q_e | ||
47 | , gamma_inc_Q | ||
48 | , gamma_inc_P_e | ||
49 | , gamma_inc_P | ||
50 | , gamma_inc_e | ||
51 | , gamma_inc | ||
52 | , lnbeta_e | ||
53 | , lnbeta | ||
54 | , beta_e | ||
55 | , beta | ||
56 | , beta_inc_e | ||
57 | , beta_inc | ||
58 | ) where | ||
59 | |||
60 | import Foreign(Ptr) | ||
61 | import GSL.Special.Internal | ||
62 | |||
63 | -- | wrapper for int gsl_sf_lngamma_e(double x,gsl_sf_result* result); | ||
64 | -- | ||
65 | -- <http://www.google.com/search?q=gsl_sf_lngamma_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
66 | lngamma_e :: Double -> (Double,Double) | ||
67 | lngamma_e x = createSFR "lngamma_e" $ gsl_sf_lngamma_e x | ||
68 | foreign import ccall "gamma.h gsl_sf_lngamma_e" gsl_sf_lngamma_e :: Double -> Ptr Double -> IO(Int) | ||
69 | |||
70 | -- | wrapper for double gsl_sf_lngamma(double x); | ||
71 | -- | ||
72 | -- <http://www.google.com/search?q=gsl_sf_lngamma&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
73 | lngamma :: Double -> Double | ||
74 | lngamma = gsl_sf_lngamma | ||
75 | foreign import ccall "gamma.h gsl_sf_lngamma" gsl_sf_lngamma :: Double -> Double | ||
76 | |||
77 | -- | wrapper for int gsl_sf_lngamma_sgn_e(double x,gsl_sf_result* result_lg,double* sgn); | ||
78 | -- | ||
79 | -- <http://www.google.com/search?q=gsl_sf_lngamma_sgn_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
80 | lngamma_sgn_e :: Double -> Ptr Double -> Ptr Double -> Int | ||
81 | lngamma_sgn_e = gsl_sf_lngamma_sgn_e | ||
82 | foreign import ccall "gamma.h gsl_sf_lngamma_sgn_e" gsl_sf_lngamma_sgn_e :: Double -> Ptr Double -> Ptr Double -> Int | ||
83 | |||
84 | -- | wrapper for int gsl_sf_gamma_e(double x,gsl_sf_result* result); | ||
85 | -- | ||
86 | -- <http://www.google.com/search?q=gsl_sf_gamma_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
87 | gamma_e :: Double -> (Double,Double) | ||
88 | gamma_e x = createSFR "gamma_e" $ gsl_sf_gamma_e x | ||
89 | foreign import ccall "gamma.h gsl_sf_gamma_e" gsl_sf_gamma_e :: Double -> Ptr Double -> IO(Int) | ||
90 | |||
91 | -- | wrapper for double gsl_sf_gamma(double x); | ||
92 | -- | ||
93 | -- <http://www.google.com/search?q=gsl_sf_gamma&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
94 | gamma :: Double -> Double | ||
95 | gamma = gsl_sf_gamma | ||
96 | foreign import ccall "gamma.h gsl_sf_gamma" gsl_sf_gamma :: Double -> Double | ||
97 | |||
98 | -- | wrapper for int gsl_sf_gammastar_e(double x,gsl_sf_result* result); | ||
99 | -- | ||
100 | -- <http://www.google.com/search?q=gsl_sf_gammastar_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
101 | gammastar_e :: Double -> (Double,Double) | ||
102 | gammastar_e x = createSFR "gammastar_e" $ gsl_sf_gammastar_e x | ||
103 | foreign import ccall "gamma.h gsl_sf_gammastar_e" gsl_sf_gammastar_e :: Double -> Ptr Double -> IO(Int) | ||
104 | |||
105 | -- | wrapper for double gsl_sf_gammastar(double x); | ||
106 | -- | ||
107 | -- <http://www.google.com/search?q=gsl_sf_gammastar&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
108 | gammastar :: Double -> Double | ||
109 | gammastar = gsl_sf_gammastar | ||
110 | foreign import ccall "gamma.h gsl_sf_gammastar" gsl_sf_gammastar :: Double -> Double | ||
111 | |||
112 | -- | wrapper for int gsl_sf_gammainv_e(double x,gsl_sf_result* result); | ||
113 | -- | ||
114 | -- <http://www.google.com/search?q=gsl_sf_gammainv_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
115 | gammainv_e :: Double -> (Double,Double) | ||
116 | gammainv_e x = createSFR "gammainv_e" $ gsl_sf_gammainv_e x | ||
117 | foreign import ccall "gamma.h gsl_sf_gammainv_e" gsl_sf_gammainv_e :: Double -> Ptr Double -> IO(Int) | ||
118 | |||
119 | -- | wrapper for double gsl_sf_gammainv(double x); | ||
120 | -- | ||
121 | -- <http://www.google.com/search?q=gsl_sf_gammainv&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
122 | gammainv :: Double -> Double | ||
123 | gammainv = gsl_sf_gammainv | ||
124 | foreign import ccall "gamma.h gsl_sf_gammainv" gsl_sf_gammainv :: Double -> Double | ||
125 | |||
126 | -- | wrapper for int gsl_sf_lngamma_complex_e(double zr,double zi,gsl_sf_result* lnr,gsl_sf_result* arg); | ||
127 | -- | ||
128 | -- <http://www.google.com/search?q=gsl_sf_lngamma_complex_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
129 | lngamma_complex_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
130 | lngamma_complex_e zr zi lnr = createSFR "lngamma_complex_e" $ gsl_sf_lngamma_complex_e zr zi lnr | ||
131 | foreign import ccall "gamma.h gsl_sf_lngamma_complex_e" gsl_sf_lngamma_complex_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
132 | |||
133 | -- | wrapper for int gsl_sf_taylorcoeff_e(int n,double x,gsl_sf_result* result); | ||
134 | -- | ||
135 | -- <http://www.google.com/search?q=gsl_sf_taylorcoeff_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
136 | taylorcoeff_e :: Int -> Double -> (Double,Double) | ||
137 | taylorcoeff_e n x = createSFR "taylorcoeff_e" $ gsl_sf_taylorcoeff_e n x | ||
138 | foreign import ccall "gamma.h gsl_sf_taylorcoeff_e" gsl_sf_taylorcoeff_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
139 | |||
140 | -- | wrapper for double gsl_sf_taylorcoeff(int n,double x); | ||
141 | -- | ||
142 | -- <http://www.google.com/search?q=gsl_sf_taylorcoeff&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
143 | taylorcoeff :: Int -> Double -> Double | ||
144 | taylorcoeff = gsl_sf_taylorcoeff | ||
145 | foreign import ccall "gamma.h gsl_sf_taylorcoeff" gsl_sf_taylorcoeff :: Int -> Double -> Double | ||
146 | |||
147 | -- | wrapper for int gsl_sf_fact_e(int n,gsl_sf_result* result); | ||
148 | -- | ||
149 | -- <http://www.google.com/search?q=gsl_sf_fact_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
150 | fact_e :: Int -> (Double,Double) | ||
151 | fact_e n = createSFR "fact_e" $ gsl_sf_fact_e n | ||
152 | foreign import ccall "gamma.h gsl_sf_fact_e" gsl_sf_fact_e :: Int -> Ptr Double -> IO(Int) | ||
153 | |||
154 | -- | wrapper for double gsl_sf_fact(int n); | ||
155 | -- | ||
156 | -- <http://www.google.com/search?q=gsl_sf_fact&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
157 | fact :: Int -> Double | ||
158 | fact = gsl_sf_fact | ||
159 | foreign import ccall "gamma.h gsl_sf_fact" gsl_sf_fact :: Int -> Double | ||
160 | |||
161 | -- | wrapper for int gsl_sf_doublefact_e(int n,gsl_sf_result* result); | ||
162 | -- | ||
163 | -- <http://www.google.com/search?q=gsl_sf_doublefact_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
164 | doublefact_e :: Int -> (Double,Double) | ||
165 | doublefact_e n = createSFR "doublefact_e" $ gsl_sf_doublefact_e n | ||
166 | foreign import ccall "gamma.h gsl_sf_doublefact_e" gsl_sf_doublefact_e :: Int -> Ptr Double -> IO(Int) | ||
167 | |||
168 | -- | wrapper for double gsl_sf_doublefact(int n); | ||
169 | -- | ||
170 | -- <http://www.google.com/search?q=gsl_sf_doublefact&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
171 | doublefact :: Int -> Double | ||
172 | doublefact = gsl_sf_doublefact | ||
173 | foreign import ccall "gamma.h gsl_sf_doublefact" gsl_sf_doublefact :: Int -> Double | ||
174 | |||
175 | -- | wrapper for int gsl_sf_lnfact_e(int n,gsl_sf_result* result); | ||
176 | -- | ||
177 | -- <http://www.google.com/search?q=gsl_sf_lnfact_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
178 | lnfact_e :: Int -> (Double,Double) | ||
179 | lnfact_e n = createSFR "lnfact_e" $ gsl_sf_lnfact_e n | ||
180 | foreign import ccall "gamma.h gsl_sf_lnfact_e" gsl_sf_lnfact_e :: Int -> Ptr Double -> IO(Int) | ||
181 | |||
182 | -- | wrapper for double gsl_sf_lnfact(int n); | ||
183 | -- | ||
184 | -- <http://www.google.com/search?q=gsl_sf_lnfact&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
185 | lnfact :: Int -> Double | ||
186 | lnfact = gsl_sf_lnfact | ||
187 | foreign import ccall "gamma.h gsl_sf_lnfact" gsl_sf_lnfact :: Int -> Double | ||
188 | |||
189 | -- | wrapper for int gsl_sf_lndoublefact_e(int n,gsl_sf_result* result); | ||
190 | -- | ||
191 | -- <http://www.google.com/search?q=gsl_sf_lndoublefact_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
192 | lndoublefact_e :: Int -> (Double,Double) | ||
193 | lndoublefact_e n = createSFR "lndoublefact_e" $ gsl_sf_lndoublefact_e n | ||
194 | foreign import ccall "gamma.h gsl_sf_lndoublefact_e" gsl_sf_lndoublefact_e :: Int -> Ptr Double -> IO(Int) | ||
195 | |||
196 | -- | wrapper for double gsl_sf_lndoublefact(int n); | ||
197 | -- | ||
198 | -- <http://www.google.com/search?q=gsl_sf_lndoublefact&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
199 | lndoublefact :: Int -> Double | ||
200 | lndoublefact = gsl_sf_lndoublefact | ||
201 | foreign import ccall "gamma.h gsl_sf_lndoublefact" gsl_sf_lndoublefact :: Int -> Double | ||
202 | |||
203 | -- | wrapper for int gsl_sf_lnchoose_e(int n,int m,gsl_sf_result* result); | ||
204 | -- | ||
205 | -- <http://www.google.com/search?q=gsl_sf_lnchoose_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
206 | lnchoose_e :: Int -> Int -> (Double,Double) | ||
207 | lnchoose_e n m = createSFR "lnchoose_e" $ gsl_sf_lnchoose_e n m | ||
208 | foreign import ccall "gamma.h gsl_sf_lnchoose_e" gsl_sf_lnchoose_e :: Int -> Int -> Ptr Double -> IO(Int) | ||
209 | |||
210 | -- | wrapper for double gsl_sf_lnchoose(int n,int m); | ||
211 | -- | ||
212 | -- <http://www.google.com/search?q=gsl_sf_lnchoose&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
213 | lnchoose :: Int -> Int -> Double | ||
214 | lnchoose = gsl_sf_lnchoose | ||
215 | foreign import ccall "gamma.h gsl_sf_lnchoose" gsl_sf_lnchoose :: Int -> Int -> Double | ||
216 | |||
217 | -- | wrapper for int gsl_sf_choose_e(int n,int m,gsl_sf_result* result); | ||
218 | -- | ||
219 | -- <http://www.google.com/search?q=gsl_sf_choose_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
220 | choose_e :: Int -> Int -> (Double,Double) | ||
221 | choose_e n m = createSFR "choose_e" $ gsl_sf_choose_e n m | ||
222 | foreign import ccall "gamma.h gsl_sf_choose_e" gsl_sf_choose_e :: Int -> Int -> Ptr Double -> IO(Int) | ||
223 | |||
224 | -- | wrapper for double gsl_sf_choose(int n,int m); | ||
225 | -- | ||
226 | -- <http://www.google.com/search?q=gsl_sf_choose&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
227 | choose :: Int -> Int -> Double | ||
228 | choose = gsl_sf_choose | ||
229 | foreign import ccall "gamma.h gsl_sf_choose" gsl_sf_choose :: Int -> Int -> Double | ||
230 | |||
231 | -- | wrapper for int gsl_sf_lnpoch_e(double a,double x,gsl_sf_result* result); | ||
232 | -- | ||
233 | -- <http://www.google.com/search?q=gsl_sf_lnpoch_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
234 | lnpoch_e :: Double -> Double -> (Double,Double) | ||
235 | lnpoch_e a x = createSFR "lnpoch_e" $ gsl_sf_lnpoch_e a x | ||
236 | foreign import ccall "gamma.h gsl_sf_lnpoch_e" gsl_sf_lnpoch_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
237 | |||
238 | -- | wrapper for double gsl_sf_lnpoch(double a,double x); | ||
239 | -- | ||
240 | -- <http://www.google.com/search?q=gsl_sf_lnpoch&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
241 | lnpoch :: Double -> Double -> Double | ||
242 | lnpoch = gsl_sf_lnpoch | ||
243 | foreign import ccall "gamma.h gsl_sf_lnpoch" gsl_sf_lnpoch :: Double -> Double -> Double | ||
244 | |||
245 | -- | wrapper for int gsl_sf_lnpoch_sgn_e(double a,double x,gsl_sf_result* result,double* sgn); | ||
246 | -- | ||
247 | -- <http://www.google.com/search?q=gsl_sf_lnpoch_sgn_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
248 | lnpoch_sgn_e :: Double -> Double -> Ptr Double -> Ptr Double -> Int | ||
249 | lnpoch_sgn_e = gsl_sf_lnpoch_sgn_e | ||
250 | foreign import ccall "gamma.h gsl_sf_lnpoch_sgn_e" gsl_sf_lnpoch_sgn_e :: Double -> Double -> Ptr Double -> Ptr Double -> Int | ||
251 | |||
252 | -- | wrapper for int gsl_sf_poch_e(double a,double x,gsl_sf_result* result); | ||
253 | -- | ||
254 | -- <http://www.google.com/search?q=gsl_sf_poch_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
255 | poch_e :: Double -> Double -> (Double,Double) | ||
256 | poch_e a x = createSFR "poch_e" $ gsl_sf_poch_e a x | ||
257 | foreign import ccall "gamma.h gsl_sf_poch_e" gsl_sf_poch_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
258 | |||
259 | -- | wrapper for double gsl_sf_poch(double a,double x); | ||
260 | -- | ||
261 | -- <http://www.google.com/search?q=gsl_sf_poch&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
262 | poch :: Double -> Double -> Double | ||
263 | poch = gsl_sf_poch | ||
264 | foreign import ccall "gamma.h gsl_sf_poch" gsl_sf_poch :: Double -> Double -> Double | ||
265 | |||
266 | -- | wrapper for int gsl_sf_pochrel_e(double a,double x,gsl_sf_result* result); | ||
267 | -- | ||
268 | -- <http://www.google.com/search?q=gsl_sf_pochrel_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
269 | pochrel_e :: Double -> Double -> (Double,Double) | ||
270 | pochrel_e a x = createSFR "pochrel_e" $ gsl_sf_pochrel_e a x | ||
271 | foreign import ccall "gamma.h gsl_sf_pochrel_e" gsl_sf_pochrel_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
272 | |||
273 | -- | wrapper for double gsl_sf_pochrel(double a,double x); | ||
274 | -- | ||
275 | -- <http://www.google.com/search?q=gsl_sf_pochrel&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
276 | pochrel :: Double -> Double -> Double | ||
277 | pochrel = gsl_sf_pochrel | ||
278 | foreign import ccall "gamma.h gsl_sf_pochrel" gsl_sf_pochrel :: Double -> Double -> Double | ||
279 | |||
280 | -- | wrapper for int gsl_sf_gamma_inc_Q_e(double a,double x,gsl_sf_result* result); | ||
281 | -- | ||
282 | -- <http://www.google.com/search?q=gsl_sf_gamma_inc_Q_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
283 | gamma_inc_Q_e :: Double -> Double -> (Double,Double) | ||
284 | gamma_inc_Q_e a x = createSFR "gamma_inc_Q_e" $ gsl_sf_gamma_inc_Q_e a x | ||
285 | foreign import ccall "gamma.h gsl_sf_gamma_inc_Q_e" gsl_sf_gamma_inc_Q_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
286 | |||
287 | -- | wrapper for double gsl_sf_gamma_inc_Q(double a,double x); | ||
288 | -- | ||
289 | -- <http://www.google.com/search?q=gsl_sf_gamma_inc_Q&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
290 | gamma_inc_Q :: Double -> Double -> Double | ||
291 | gamma_inc_Q = gsl_sf_gamma_inc_Q | ||
292 | foreign import ccall "gamma.h gsl_sf_gamma_inc_Q" gsl_sf_gamma_inc_Q :: Double -> Double -> Double | ||
293 | |||
294 | -- | wrapper for int gsl_sf_gamma_inc_P_e(double a,double x,gsl_sf_result* result); | ||
295 | -- | ||
296 | -- <http://www.google.com/search?q=gsl_sf_gamma_inc_P_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
297 | gamma_inc_P_e :: Double -> Double -> (Double,Double) | ||
298 | gamma_inc_P_e a x = createSFR "gamma_inc_P_e" $ gsl_sf_gamma_inc_P_e a x | ||
299 | foreign import ccall "gamma.h gsl_sf_gamma_inc_P_e" gsl_sf_gamma_inc_P_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
300 | |||
301 | -- | wrapper for double gsl_sf_gamma_inc_P(double a,double x); | ||
302 | -- | ||
303 | -- <http://www.google.com/search?q=gsl_sf_gamma_inc_P&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
304 | gamma_inc_P :: Double -> Double -> Double | ||
305 | gamma_inc_P = gsl_sf_gamma_inc_P | ||
306 | foreign import ccall "gamma.h gsl_sf_gamma_inc_P" gsl_sf_gamma_inc_P :: Double -> Double -> Double | ||
307 | |||
308 | -- | wrapper for int gsl_sf_gamma_inc_e(double a,double x,gsl_sf_result* result); | ||
309 | -- | ||
310 | -- <http://www.google.com/search?q=gsl_sf_gamma_inc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
311 | gamma_inc_e :: Double -> Double -> (Double,Double) | ||
312 | gamma_inc_e a x = createSFR "gamma_inc_e" $ gsl_sf_gamma_inc_e a x | ||
313 | foreign import ccall "gamma.h gsl_sf_gamma_inc_e" gsl_sf_gamma_inc_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
314 | |||
315 | -- | wrapper for double gsl_sf_gamma_inc(double a,double x); | ||
316 | -- | ||
317 | -- <http://www.google.com/search?q=gsl_sf_gamma_inc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
318 | gamma_inc :: Double -> Double -> Double | ||
319 | gamma_inc = gsl_sf_gamma_inc | ||
320 | foreign import ccall "gamma.h gsl_sf_gamma_inc" gsl_sf_gamma_inc :: Double -> Double -> Double | ||
321 | |||
322 | -- | wrapper for int gsl_sf_lnbeta_e(double a,double b,gsl_sf_result* result); | ||
323 | -- | ||
324 | -- <http://www.google.com/search?q=gsl_sf_lnbeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
325 | lnbeta_e :: Double -> Double -> (Double,Double) | ||
326 | lnbeta_e a b = createSFR "lnbeta_e" $ gsl_sf_lnbeta_e a b | ||
327 | foreign import ccall "gamma.h gsl_sf_lnbeta_e" gsl_sf_lnbeta_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
328 | |||
329 | -- | wrapper for double gsl_sf_lnbeta(double a,double b); | ||
330 | -- | ||
331 | -- <http://www.google.com/search?q=gsl_sf_lnbeta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
332 | lnbeta :: Double -> Double -> Double | ||
333 | lnbeta = gsl_sf_lnbeta | ||
334 | foreign import ccall "gamma.h gsl_sf_lnbeta" gsl_sf_lnbeta :: Double -> Double -> Double | ||
335 | |||
336 | -- | wrapper for int gsl_sf_beta_e(double a,double b,gsl_sf_result* result); | ||
337 | -- | ||
338 | -- <http://www.google.com/search?q=gsl_sf_beta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
339 | beta_e :: Double -> Double -> (Double,Double) | ||
340 | beta_e a b = createSFR "beta_e" $ gsl_sf_beta_e a b | ||
341 | foreign import ccall "gamma.h gsl_sf_beta_e" gsl_sf_beta_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
342 | |||
343 | -- | wrapper for double gsl_sf_beta(double a,double b); | ||
344 | -- | ||
345 | -- <http://www.google.com/search?q=gsl_sf_beta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
346 | beta :: Double -> Double -> Double | ||
347 | beta = gsl_sf_beta | ||
348 | foreign import ccall "gamma.h gsl_sf_beta" gsl_sf_beta :: Double -> Double -> Double | ||
349 | |||
350 | -- | wrapper for int gsl_sf_beta_inc_e(double a,double b,double x,gsl_sf_result* result); | ||
351 | -- | ||
352 | -- <http://www.google.com/search?q=gsl_sf_beta_inc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
353 | beta_inc_e :: Double -> Double -> Double -> (Double,Double) | ||
354 | beta_inc_e a b x = createSFR "beta_inc_e" $ gsl_sf_beta_inc_e a b x | ||
355 | foreign import ccall "gamma.h gsl_sf_beta_inc_e" gsl_sf_beta_inc_e :: Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
356 | |||
357 | -- | wrapper for double gsl_sf_beta_inc(double a,double b,double x); | ||
358 | -- | ||
359 | -- <http://www.google.com/search?q=gsl_sf_beta_inc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
360 | beta_inc :: Double -> Double -> Double -> Double | ||
361 | beta_inc = gsl_sf_beta_inc | ||
362 | foreign import ccall "gamma.h gsl_sf_beta_inc" gsl_sf_beta_inc :: Double -> Double -> Double -> Double | ||
diff --git a/lib/GSL/Special/Gegenbauer.hs b/lib/GSL/Special/Gegenbauer.hs deleted file mode 100644 index 9667042..0000000 --- a/lib/GSL/Special/Gegenbauer.hs +++ /dev/null | |||
@@ -1,92 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Gegenbauer | ||
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.google.com/search?q=gsl_sf_gegenbauer.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Gegenbauer( | ||
18 | gegenpoly_1_e | ||
19 | , gegenpoly_2_e | ||
20 | , gegenpoly_3_e | ||
21 | , gegenpoly_1 | ||
22 | , gegenpoly_2 | ||
23 | , gegenpoly_3 | ||
24 | , gegenpoly_n_e | ||
25 | , gegenpoly_n | ||
26 | ) where | ||
27 | |||
28 | import Foreign(Ptr) | ||
29 | import GSL.Special.Internal | ||
30 | |||
31 | -- | wrapper for int gsl_sf_gegenpoly_1_e(double lambda,double x,gsl_sf_result* result); | ||
32 | -- | ||
33 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
34 | gegenpoly_1_e :: Double -> Double -> (Double,Double) | ||
35 | gegenpoly_1_e lambda x = createSFR "gegenpoly_1_e" $ gsl_sf_gegenpoly_1_e lambda x | ||
36 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_1_e" gsl_sf_gegenpoly_1_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
37 | |||
38 | -- | wrapper for int gsl_sf_gegenpoly_2_e(double lambda,double x,gsl_sf_result* result); | ||
39 | -- | ||
40 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
41 | gegenpoly_2_e :: Double -> Double -> (Double,Double) | ||
42 | gegenpoly_2_e lambda x = createSFR "gegenpoly_2_e" $ gsl_sf_gegenpoly_2_e lambda x | ||
43 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_2_e" gsl_sf_gegenpoly_2_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
44 | |||
45 | -- | wrapper for int gsl_sf_gegenpoly_3_e(double lambda,double x,gsl_sf_result* result); | ||
46 | -- | ||
47 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
48 | gegenpoly_3_e :: Double -> Double -> (Double,Double) | ||
49 | gegenpoly_3_e lambda x = createSFR "gegenpoly_3_e" $ gsl_sf_gegenpoly_3_e lambda x | ||
50 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_3_e" gsl_sf_gegenpoly_3_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
51 | |||
52 | -- | wrapper for double gsl_sf_gegenpoly_1(double lambda,double x); | ||
53 | -- | ||
54 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
55 | gegenpoly_1 :: Double -> Double -> Double | ||
56 | gegenpoly_1 = gsl_sf_gegenpoly_1 | ||
57 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_1" gsl_sf_gegenpoly_1 :: Double -> Double -> Double | ||
58 | |||
59 | -- | wrapper for double gsl_sf_gegenpoly_2(double lambda,double x); | ||
60 | -- | ||
61 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
62 | gegenpoly_2 :: Double -> Double -> Double | ||
63 | gegenpoly_2 = gsl_sf_gegenpoly_2 | ||
64 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_2" gsl_sf_gegenpoly_2 :: Double -> Double -> Double | ||
65 | |||
66 | -- | wrapper for double gsl_sf_gegenpoly_3(double lambda,double x); | ||
67 | -- | ||
68 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_3&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
69 | gegenpoly_3 :: Double -> Double -> Double | ||
70 | gegenpoly_3 = gsl_sf_gegenpoly_3 | ||
71 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_3" gsl_sf_gegenpoly_3 :: Double -> Double -> Double | ||
72 | |||
73 | -- | wrapper for int gsl_sf_gegenpoly_n_e(int n,double lambda,double x,gsl_sf_result* result); | ||
74 | -- | ||
75 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_n_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
76 | gegenpoly_n_e :: Int -> Double -> Double -> (Double,Double) | ||
77 | gegenpoly_n_e n lambda x = createSFR "gegenpoly_n_e" $ gsl_sf_gegenpoly_n_e n lambda x | ||
78 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_n_e" gsl_sf_gegenpoly_n_e :: Int -> Double -> Double -> Ptr Double -> IO(Int) | ||
79 | |||
80 | -- | wrapper for double gsl_sf_gegenpoly_n(int n,double lambda,double x); | ||
81 | -- | ||
82 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_n&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
83 | gegenpoly_n :: Int -> Double -> Double -> Double | ||
84 | gegenpoly_n = gsl_sf_gegenpoly_n | ||
85 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_n" gsl_sf_gegenpoly_n :: Int -> Double -> Double -> Double | ||
86 | |||
87 | -- | wrapper for int gsl_sf_gegenpoly_array(int nmax,double lambda,double x,double* result_array); | ||
88 | -- | ||
89 | -- <http://www.google.com/search?q=gsl_sf_gegenpoly_array&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
90 | gegenpoly_array :: Int -> Double -> Double -> Ptr Double -> Int | ||
91 | gegenpoly_array = gsl_sf_gegenpoly_array | ||
92 | foreign import ccall "gegenbauer.h gsl_sf_gegenpoly_array" gsl_sf_gegenpoly_array :: Int -> Double -> Double -> Ptr Double -> Int | ||
diff --git a/lib/GSL/Special/Hyperg.hs b/lib/GSL/Special/Hyperg.hs deleted file mode 100644 index f9551eb..0000000 --- a/lib/GSL/Special/Hyperg.hs +++ /dev/null | |||
@@ -1,197 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Hyperg | ||
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.google.com/search?q=gsl_sf_hyperg.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Hyperg( | ||
18 | hyperg_0F1_e | ||
19 | , hyperg_0F1 | ||
20 | , hyperg_1F1_int_e | ||
21 | , hyperg_1F1_int | ||
22 | , hyperg_1F1_e | ||
23 | , hyperg_1F1 | ||
24 | , hyperg_U_int_e | ||
25 | , hyperg_U_int | ||
26 | , hyperg_U_int_e10_e | ||
27 | , hyperg_U_e | ||
28 | , hyperg_U | ||
29 | , hyperg_U_e10_e | ||
30 | , hyperg_2F1_e | ||
31 | , hyperg_2F1 | ||
32 | , hyperg_2F1_conj_e | ||
33 | , hyperg_2F1_conj | ||
34 | , hyperg_2F1_renorm_e | ||
35 | , hyperg_2F1_renorm | ||
36 | , hyperg_2F1_conj_renorm_e | ||
37 | , hyperg_2F1_conj_renorm | ||
38 | , hyperg_2F0_e | ||
39 | , hyperg_2F0 | ||
40 | ) where | ||
41 | |||
42 | import Foreign(Ptr) | ||
43 | import GSL.Special.Internal | ||
44 | |||
45 | -- | wrapper for int gsl_sf_hyperg_0F1_e(double c,double x,gsl_sf_result* result); | ||
46 | -- | ||
47 | -- <http://www.google.com/search?q=gsl_sf_hyperg_0F1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
48 | hyperg_0F1_e :: Double -> Double -> (Double,Double) | ||
49 | hyperg_0F1_e c x = createSFR "hyperg_0F1_e" $ gsl_sf_hyperg_0F1_e c x | ||
50 | foreign import ccall "hyperg.h gsl_sf_hyperg_0F1_e" gsl_sf_hyperg_0F1_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
51 | |||
52 | -- | wrapper for double gsl_sf_hyperg_0F1(double c,double x); | ||
53 | -- | ||
54 | -- <http://www.google.com/search?q=gsl_sf_hyperg_0F1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
55 | hyperg_0F1 :: Double -> Double -> Double | ||
56 | hyperg_0F1 = gsl_sf_hyperg_0F1 | ||
57 | foreign import ccall "hyperg.h gsl_sf_hyperg_0F1" gsl_sf_hyperg_0F1 :: Double -> Double -> Double | ||
58 | |||
59 | -- | wrapper for int gsl_sf_hyperg_1F1_int_e(int m,int n,double x,gsl_sf_result* result); | ||
60 | -- | ||
61 | -- <http://www.google.com/search?q=gsl_sf_hyperg_1F1_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
62 | hyperg_1F1_int_e :: Int -> Int -> Double -> (Double,Double) | ||
63 | hyperg_1F1_int_e m n x = createSFR "hyperg_1F1_int_e" $ gsl_sf_hyperg_1F1_int_e m n x | ||
64 | foreign import ccall "hyperg.h gsl_sf_hyperg_1F1_int_e" gsl_sf_hyperg_1F1_int_e :: Int -> Int -> Double -> Ptr Double -> IO(Int) | ||
65 | |||
66 | -- | wrapper for double gsl_sf_hyperg_1F1_int(int m,int n,double x); | ||
67 | -- | ||
68 | -- <http://www.google.com/search?q=gsl_sf_hyperg_1F1_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
69 | hyperg_1F1_int :: Int -> Int -> Double -> Double | ||
70 | hyperg_1F1_int = gsl_sf_hyperg_1F1_int | ||
71 | foreign import ccall "hyperg.h gsl_sf_hyperg_1F1_int" gsl_sf_hyperg_1F1_int :: Int -> Int -> Double -> Double | ||
72 | |||
73 | -- | wrapper for int gsl_sf_hyperg_1F1_e(double a,double b,double x,gsl_sf_result* result); | ||
74 | -- | ||
75 | -- <http://www.google.com/search?q=gsl_sf_hyperg_1F1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
76 | hyperg_1F1_e :: Double -> Double -> Double -> (Double,Double) | ||
77 | hyperg_1F1_e a b x = createSFR "hyperg_1F1_e" $ gsl_sf_hyperg_1F1_e a b x | ||
78 | foreign import ccall "hyperg.h gsl_sf_hyperg_1F1_e" gsl_sf_hyperg_1F1_e :: Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
79 | |||
80 | -- | wrapper for double gsl_sf_hyperg_1F1(double a,double b,double x); | ||
81 | -- | ||
82 | -- <http://www.google.com/search?q=gsl_sf_hyperg_1F1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
83 | hyperg_1F1 :: Double -> Double -> Double -> Double | ||
84 | hyperg_1F1 = gsl_sf_hyperg_1F1 | ||
85 | foreign import ccall "hyperg.h gsl_sf_hyperg_1F1" gsl_sf_hyperg_1F1 :: Double -> Double -> Double -> Double | ||
86 | |||
87 | -- | wrapper for int gsl_sf_hyperg_U_int_e(int m,int n,double x,gsl_sf_result* result); | ||
88 | -- | ||
89 | -- <http://www.google.com/search?q=gsl_sf_hyperg_U_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
90 | hyperg_U_int_e :: Int -> Int -> Double -> (Double,Double) | ||
91 | hyperg_U_int_e m n x = createSFR "hyperg_U_int_e" $ gsl_sf_hyperg_U_int_e m n x | ||
92 | foreign import ccall "hyperg.h gsl_sf_hyperg_U_int_e" gsl_sf_hyperg_U_int_e :: Int -> Int -> Double -> Ptr Double -> IO(Int) | ||
93 | |||
94 | -- | wrapper for double gsl_sf_hyperg_U_int(int m,int n,double x); | ||
95 | -- | ||
96 | -- <http://www.google.com/search?q=gsl_sf_hyperg_U_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
97 | hyperg_U_int :: Int -> Int -> Double -> Double | ||
98 | hyperg_U_int = gsl_sf_hyperg_U_int | ||
99 | foreign import ccall "hyperg.h gsl_sf_hyperg_U_int" gsl_sf_hyperg_U_int :: Int -> Int -> Double -> Double | ||
100 | |||
101 | -- | wrapper for int gsl_sf_hyperg_U_int_e10_e(int m,int n,double x,gsl_sf_result_e10* result); | ||
102 | -- | ||
103 | -- <http://www.google.com/search?q=gsl_sf_hyperg_U_int_e10_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
104 | hyperg_U_int_e10_e :: Int -> Int -> Double -> (Double,Int,Double) | ||
105 | hyperg_U_int_e10_e m n x = createSFR_E10 "hyperg_U_int_e10_e" $ gsl_sf_hyperg_U_int_e10_e m n x | ||
106 | foreign import ccall "hyperg.h gsl_sf_hyperg_U_int_e10_e" gsl_sf_hyperg_U_int_e10_e :: Int -> Int -> Double -> Ptr () -> IO(Int) | ||
107 | |||
108 | -- | wrapper for int gsl_sf_hyperg_U_e(double a,double b,double x,gsl_sf_result* result); | ||
109 | -- | ||
110 | -- <http://www.google.com/search?q=gsl_sf_hyperg_U_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
111 | hyperg_U_e :: Double -> Double -> Double -> (Double,Double) | ||
112 | hyperg_U_e a b x = createSFR "hyperg_U_e" $ gsl_sf_hyperg_U_e a b x | ||
113 | foreign import ccall "hyperg.h gsl_sf_hyperg_U_e" gsl_sf_hyperg_U_e :: Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
114 | |||
115 | -- | wrapper for double gsl_sf_hyperg_U(double a,double b,double x); | ||
116 | -- | ||
117 | -- <http://www.google.com/search?q=gsl_sf_hyperg_U&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
118 | hyperg_U :: Double -> Double -> Double -> Double | ||
119 | hyperg_U = gsl_sf_hyperg_U | ||
120 | foreign import ccall "hyperg.h gsl_sf_hyperg_U" gsl_sf_hyperg_U :: Double -> Double -> Double -> Double | ||
121 | |||
122 | -- | wrapper for int gsl_sf_hyperg_U_e10_e(double a,double b,double x,gsl_sf_result_e10* result); | ||
123 | -- | ||
124 | -- <http://www.google.com/search?q=gsl_sf_hyperg_U_e10_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
125 | hyperg_U_e10_e :: Double -> Double -> Double -> (Double,Int,Double) | ||
126 | hyperg_U_e10_e a b x = createSFR_E10 "hyperg_U_e10_e" $ gsl_sf_hyperg_U_e10_e a b x | ||
127 | foreign import ccall "hyperg.h gsl_sf_hyperg_U_e10_e" gsl_sf_hyperg_U_e10_e :: Double -> Double -> Double -> Ptr () -> IO(Int) | ||
128 | |||
129 | -- | wrapper for int gsl_sf_hyperg_2F1_e(double a,double b,double c,double x,gsl_sf_result* result); | ||
130 | -- | ||
131 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
132 | hyperg_2F1_e :: Double -> Double -> Double -> Double -> (Double,Double) | ||
133 | hyperg_2F1_e a b c x = createSFR "hyperg_2F1_e" $ gsl_sf_hyperg_2F1_e a b c x | ||
134 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_e" gsl_sf_hyperg_2F1_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
135 | |||
136 | -- | wrapper for double gsl_sf_hyperg_2F1(double a,double b,double c,double x); | ||
137 | -- | ||
138 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
139 | hyperg_2F1 :: Double -> Double -> Double -> Double -> Double | ||
140 | hyperg_2F1 = gsl_sf_hyperg_2F1 | ||
141 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1" gsl_sf_hyperg_2F1 :: Double -> Double -> Double -> Double -> Double | ||
142 | |||
143 | -- | wrapper for int gsl_sf_hyperg_2F1_conj_e(double aR,double aI,double c,double x,gsl_sf_result* result); | ||
144 | -- | ||
145 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_conj_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
146 | hyperg_2F1_conj_e :: Double -> Double -> Double -> Double -> (Double,Double) | ||
147 | hyperg_2F1_conj_e aR aI c x = createSFR "hyperg_2F1_conj_e" $ gsl_sf_hyperg_2F1_conj_e aR aI c x | ||
148 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_conj_e" gsl_sf_hyperg_2F1_conj_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
149 | |||
150 | -- | wrapper for double gsl_sf_hyperg_2F1_conj(double aR,double aI,double c,double x); | ||
151 | -- | ||
152 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_conj&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
153 | hyperg_2F1_conj :: Double -> Double -> Double -> Double -> Double | ||
154 | hyperg_2F1_conj = gsl_sf_hyperg_2F1_conj | ||
155 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_conj" gsl_sf_hyperg_2F1_conj :: Double -> Double -> Double -> Double -> Double | ||
156 | |||
157 | -- | wrapper for int gsl_sf_hyperg_2F1_renorm_e(double a,double b,double c,double x,gsl_sf_result* result); | ||
158 | -- | ||
159 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_renorm_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
160 | hyperg_2F1_renorm_e :: Double -> Double -> Double -> Double -> (Double,Double) | ||
161 | hyperg_2F1_renorm_e a b c x = createSFR "hyperg_2F1_renorm_e" $ gsl_sf_hyperg_2F1_renorm_e a b c x | ||
162 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_renorm_e" gsl_sf_hyperg_2F1_renorm_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
163 | |||
164 | -- | wrapper for double gsl_sf_hyperg_2F1_renorm(double a,double b,double c,double x); | ||
165 | -- | ||
166 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_renorm&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
167 | hyperg_2F1_renorm :: Double -> Double -> Double -> Double -> Double | ||
168 | hyperg_2F1_renorm = gsl_sf_hyperg_2F1_renorm | ||
169 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_renorm" gsl_sf_hyperg_2F1_renorm :: Double -> Double -> Double -> Double -> Double | ||
170 | |||
171 | -- | wrapper for int gsl_sf_hyperg_2F1_conj_renorm_e(double aR,double aI,double c,double x,gsl_sf_result* result); | ||
172 | -- | ||
173 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_conj_renorm_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
174 | hyperg_2F1_conj_renorm_e :: Double -> Double -> Double -> Double -> (Double,Double) | ||
175 | hyperg_2F1_conj_renorm_e aR aI c x = createSFR "hyperg_2F1_conj_renorm_e" $ gsl_sf_hyperg_2F1_conj_renorm_e aR aI c x | ||
176 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_conj_renorm_e" gsl_sf_hyperg_2F1_conj_renorm_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
177 | |||
178 | -- | wrapper for double gsl_sf_hyperg_2F1_conj_renorm(double aR,double aI,double c,double x); | ||
179 | -- | ||
180 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F1_conj_renorm&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
181 | hyperg_2F1_conj_renorm :: Double -> Double -> Double -> Double -> Double | ||
182 | hyperg_2F1_conj_renorm = gsl_sf_hyperg_2F1_conj_renorm | ||
183 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F1_conj_renorm" gsl_sf_hyperg_2F1_conj_renorm :: Double -> Double -> Double -> Double -> Double | ||
184 | |||
185 | -- | wrapper for int gsl_sf_hyperg_2F0_e(double a,double b,double x,gsl_sf_result* result); | ||
186 | -- | ||
187 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
188 | hyperg_2F0_e :: Double -> Double -> Double -> (Double,Double) | ||
189 | hyperg_2F0_e a b x = createSFR "hyperg_2F0_e" $ gsl_sf_hyperg_2F0_e a b x | ||
190 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F0_e" gsl_sf_hyperg_2F0_e :: Double -> Double -> Double -> Ptr Double -> IO(Int) | ||
191 | |||
192 | -- | wrapper for double gsl_sf_hyperg_2F0(double a,double b,double x); | ||
193 | -- | ||
194 | -- <http://www.google.com/search?q=gsl_sf_hyperg_2F0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
195 | hyperg_2F0 :: Double -> Double -> Double -> Double | ||
196 | hyperg_2F0 = gsl_sf_hyperg_2F0 | ||
197 | foreign import ccall "hyperg.h gsl_sf_hyperg_2F0" gsl_sf_hyperg_2F0 :: Double -> Double -> Double -> Double | ||
diff --git a/lib/GSL/Special/Internal.hs b/lib/GSL/Special/Internal.hs deleted file mode 100644 index 8d81c72..0000000 --- a/lib/GSL/Special/Internal.hs +++ /dev/null | |||
@@ -1,68 +0,0 @@ | |||
1 | {-# OPTIONS #-} | ||
2 | ----------------------------------------------------------------------------- | ||
3 | {- | | ||
4 | Module : GSL.Special.Internal | ||
5 | Copyright : (c) Alberto Ruiz 2007 | ||
6 | License : GPL-style | ||
7 | |||
8 | Maintainer : Alberto Ruiz (aruiz at um dot es) | ||
9 | Stability : provisional | ||
10 | Portability : uses ffi | ||
11 | |||
12 | Support for Special functions. | ||
13 | |||
14 | <http://www.gnu.org/software/gsl/manual/html_node/Special-Functions.html#Special-Functions> | ||
15 | -} | ||
16 | ----------------------------------------------------------------------------- | ||
17 | |||
18 | module GSL.Special.Internal ( | ||
19 | createSFR, | ||
20 | createSFR_E10, | ||
21 | Precision(..), | ||
22 | Gsl_mode_t, | ||
23 | Size_t, | ||
24 | precCode | ||
25 | ) | ||
26 | where | ||
27 | |||
28 | import Foreign | ||
29 | import Data.Packed.Internal(check,(//)) | ||
30 | |||
31 | |||
32 | data Precision = PrecDouble | PrecSingle | PrecApprox | ||
33 | |||
34 | precCode :: Precision -> Int | ||
35 | precCode PrecDouble = 0 | ||
36 | precCode PrecSingle = 1 | ||
37 | precCode PrecApprox = 2 | ||
38 | |||
39 | type Gsl_mode_t = Int | ||
40 | |||
41 | type Size_t = Int | ||
42 | |||
43 | ---------------------------------------------------------------- | ||
44 | -- | access to a sf_result | ||
45 | createSFR :: Storable a => String -> (Ptr a -> IO Int) -> (a, a) | ||
46 | createSFR s f = unsafePerformIO $ do | ||
47 | p <- mallocArray 2 | ||
48 | f p // check s [] | ||
49 | [val,err] <- peekArray 2 p | ||
50 | free p | ||
51 | return (val,err) | ||
52 | |||
53 | |||
54 | --------------------------------------------------------------------- | ||
55 | -- the sf_result_e10 contains two doubles and the exponent | ||
56 | |||
57 | -- | acces to sf_result_e10 | ||
58 | createSFR_E10 :: (Storable t2, Storable t3, Storable t1) => String -> (Ptr a -> IO Int) -> (t1, t2, t3) | ||
59 | createSFR_E10 s f = unsafePerformIO $ do | ||
60 | let sd = sizeOf (0::Double) | ||
61 | let si = sizeOf (0::Int) | ||
62 | p <- mallocBytes (2*sd + si) | ||
63 | f p // check s [] | ||
64 | val <- peekByteOff p 0 | ||
65 | err <- peekByteOff p sd | ||
66 | expo <- peekByteOff p (2*sd) | ||
67 | free p | ||
68 | return (val,expo,err) | ||
diff --git a/lib/GSL/Special/Laguerre.hs b/lib/GSL/Special/Laguerre.hs deleted file mode 100644 index f5ab85e..0000000 --- a/lib/GSL/Special/Laguerre.hs +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Laguerre | ||
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.google.com/search?q=gsl_sf_laguerre.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Laguerre( | ||
18 | laguerre_1_e | ||
19 | , laguerre_2_e | ||
20 | , laguerre_3_e | ||
21 | , laguerre_1 | ||
22 | , laguerre_2 | ||
23 | , laguerre_3 | ||
24 | , laguerre_n_e | ||
25 | , laguerre_n | ||
26 | ) where | ||
27 | |||
28 | import Foreign(Ptr) | ||
29 | import GSL.Special.Internal | ||
30 | |||
31 | -- | wrapper for int gsl_sf_laguerre_1_e(double a,double x,gsl_sf_result* result); | ||
32 | -- | ||
33 | -- <http://www.google.com/search?q=gsl_sf_laguerre_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
34 | laguerre_1_e :: Double -> Double -> (Double,Double) | ||
35 | laguerre_1_e a x = createSFR "laguerre_1_e" $ gsl_sf_laguerre_1_e a x | ||
36 | foreign import ccall "laguerre.h gsl_sf_laguerre_1_e" gsl_sf_laguerre_1_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
37 | |||
38 | -- | wrapper for int gsl_sf_laguerre_2_e(double a,double x,gsl_sf_result* result); | ||
39 | -- | ||
40 | -- <http://www.google.com/search?q=gsl_sf_laguerre_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
41 | laguerre_2_e :: Double -> Double -> (Double,Double) | ||
42 | laguerre_2_e a x = createSFR "laguerre_2_e" $ gsl_sf_laguerre_2_e a x | ||
43 | foreign import ccall "laguerre.h gsl_sf_laguerre_2_e" gsl_sf_laguerre_2_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
44 | |||
45 | -- | wrapper for int gsl_sf_laguerre_3_e(double a,double x,gsl_sf_result* result); | ||
46 | -- | ||
47 | -- <http://www.google.com/search?q=gsl_sf_laguerre_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
48 | laguerre_3_e :: Double -> Double -> (Double,Double) | ||
49 | laguerre_3_e a x = createSFR "laguerre_3_e" $ gsl_sf_laguerre_3_e a x | ||
50 | foreign import ccall "laguerre.h gsl_sf_laguerre_3_e" gsl_sf_laguerre_3_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
51 | |||
52 | -- | wrapper for double gsl_sf_laguerre_1(double a,double x); | ||
53 | -- | ||
54 | -- <http://www.google.com/search?q=gsl_sf_laguerre_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
55 | laguerre_1 :: Double -> Double -> Double | ||
56 | laguerre_1 = gsl_sf_laguerre_1 | ||
57 | foreign import ccall "laguerre.h gsl_sf_laguerre_1" gsl_sf_laguerre_1 :: Double -> Double -> Double | ||
58 | |||
59 | -- | wrapper for double gsl_sf_laguerre_2(double a,double x); | ||
60 | -- | ||
61 | -- <http://www.google.com/search?q=gsl_sf_laguerre_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
62 | laguerre_2 :: Double -> Double -> Double | ||
63 | laguerre_2 = gsl_sf_laguerre_2 | ||
64 | foreign import ccall "laguerre.h gsl_sf_laguerre_2" gsl_sf_laguerre_2 :: Double -> Double -> Double | ||
65 | |||
66 | -- | wrapper for double gsl_sf_laguerre_3(double a,double x); | ||
67 | -- | ||
68 | -- <http://www.google.com/search?q=gsl_sf_laguerre_3&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
69 | laguerre_3 :: Double -> Double -> Double | ||
70 | laguerre_3 = gsl_sf_laguerre_3 | ||
71 | foreign import ccall "laguerre.h gsl_sf_laguerre_3" gsl_sf_laguerre_3 :: Double -> Double -> Double | ||
72 | |||
73 | -- | wrapper for int gsl_sf_laguerre_n_e(int n,double a,double x,gsl_sf_result* result); | ||
74 | -- | ||
75 | -- <http://www.google.com/search?q=gsl_sf_laguerre_n_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
76 | laguerre_n_e :: Int -> Double -> Double -> (Double,Double) | ||
77 | laguerre_n_e n a x = createSFR "laguerre_n_e" $ gsl_sf_laguerre_n_e n a x | ||
78 | foreign import ccall "laguerre.h gsl_sf_laguerre_n_e" gsl_sf_laguerre_n_e :: Int -> Double -> Double -> Ptr Double -> IO(Int) | ||
79 | |||
80 | -- | wrapper for double gsl_sf_laguerre_n(int n,double a,double x); | ||
81 | -- | ||
82 | -- <http://www.google.com/search?q=gsl_sf_laguerre_n&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
83 | laguerre_n :: Int -> Double -> Double -> Double | ||
84 | laguerre_n = gsl_sf_laguerre_n | ||
85 | foreign import ccall "laguerre.h gsl_sf_laguerre_n" gsl_sf_laguerre_n :: Int -> Double -> Double -> Double | ||
diff --git a/lib/GSL/Special/Lambert.hs b/lib/GSL/Special/Lambert.hs deleted file mode 100644 index 5e8fed9..0000000 --- a/lib/GSL/Special/Lambert.hs +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Lambert | ||
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.google.com/search?q=gsl_sf_lambert.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Lambert( | ||
18 | lambert_W0_e | ||
19 | , lambert_W0 | ||
20 | , lambert_Wm1_e | ||
21 | , lambert_Wm1 | ||
22 | ) where | ||
23 | |||
24 | import Foreign(Ptr) | ||
25 | import GSL.Special.Internal | ||
26 | |||
27 | -- | wrapper for int gsl_sf_lambert_W0_e(double x,gsl_sf_result* result); | ||
28 | -- | ||
29 | -- <http://www.google.com/search?q=gsl_sf_lambert_W0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
30 | lambert_W0_e :: Double -> (Double,Double) | ||
31 | lambert_W0_e x = createSFR "lambert_W0_e" $ gsl_sf_lambert_W0_e x | ||
32 | foreign import ccall "lambert.h gsl_sf_lambert_W0_e" gsl_sf_lambert_W0_e :: Double -> Ptr Double -> IO(Int) | ||
33 | |||
34 | -- | wrapper for double gsl_sf_lambert_W0(double x); | ||
35 | -- | ||
36 | -- <http://www.google.com/search?q=gsl_sf_lambert_W0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
37 | lambert_W0 :: Double -> Double | ||
38 | lambert_W0 = gsl_sf_lambert_W0 | ||
39 | foreign import ccall "lambert.h gsl_sf_lambert_W0" gsl_sf_lambert_W0 :: Double -> Double | ||
40 | |||
41 | -- | wrapper for int gsl_sf_lambert_Wm1_e(double x,gsl_sf_result* result); | ||
42 | -- | ||
43 | -- <http://www.google.com/search?q=gsl_sf_lambert_Wm1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
44 | lambert_Wm1_e :: Double -> (Double,Double) | ||
45 | lambert_Wm1_e x = createSFR "lambert_Wm1_e" $ gsl_sf_lambert_Wm1_e x | ||
46 | foreign import ccall "lambert.h gsl_sf_lambert_Wm1_e" gsl_sf_lambert_Wm1_e :: Double -> Ptr Double -> IO(Int) | ||
47 | |||
48 | -- | wrapper for double gsl_sf_lambert_Wm1(double x); | ||
49 | -- | ||
50 | -- <http://www.google.com/search?q=gsl_sf_lambert_Wm1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
51 | lambert_Wm1 :: Double -> Double | ||
52 | lambert_Wm1 = gsl_sf_lambert_Wm1 | ||
53 | foreign import ccall "lambert.h gsl_sf_lambert_Wm1" gsl_sf_lambert_Wm1 :: Double -> Double | ||
diff --git a/lib/GSL/Special/Legendre.hs b/lib/GSL/Special/Legendre.hs deleted file mode 100644 index 70315e9..0000000 --- a/lib/GSL/Special/Legendre.hs +++ /dev/null | |||
@@ -1,278 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Legendre | ||
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/Legendre-Functions-and-Spherical-Harmonics.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Legendre( | ||
18 | legendre_Pl_e | ||
19 | , legendre_Pl | ||
20 | , legendre_P1_e | ||
21 | , legendre_P2_e | ||
22 | , legendre_P3_e | ||
23 | , legendre_P1 | ||
24 | , legendre_P2 | ||
25 | , legendre_P3 | ||
26 | , legendre_Q0_e | ||
27 | , legendre_Q0 | ||
28 | , legendre_Q1_e | ||
29 | , legendre_Q1 | ||
30 | , legendre_Ql_e | ||
31 | , legendre_Ql | ||
32 | , legendre_Plm_e | ||
33 | , legendre_Plm | ||
34 | , legendre_sphPlm_e | ||
35 | , legendre_sphPlm | ||
36 | , legendre_array_size | ||
37 | , conicalP_half_e | ||
38 | , conicalP_half | ||
39 | , conicalP_mhalf_e | ||
40 | , conicalP_mhalf | ||
41 | , conicalP_0_e | ||
42 | , conicalP_0 | ||
43 | , conicalP_1_e | ||
44 | , conicalP_1 | ||
45 | , conicalP_sph_reg_e | ||
46 | , conicalP_sph_reg | ||
47 | , conicalP_cyl_reg_e | ||
48 | , conicalP_cyl_reg | ||
49 | , legendre_H3d_0_e | ||
50 | , legendre_H3d_0 | ||
51 | , legendre_H3d_1_e | ||
52 | , legendre_H3d_1 | ||
53 | , legendre_H3d_e | ||
54 | , legendre_H3d | ||
55 | ) where | ||
56 | |||
57 | import Foreign(Ptr) | ||
58 | import GSL.Special.Internal | ||
59 | |||
60 | -- | wrapper for int gsl_sf_legendre_Pl_e(int l,double x,gsl_sf_result* result); | ||
61 | legendre_Pl_e :: Int -> Double -> (Double,Double) | ||
62 | legendre_Pl_e l x = createSFR "legendre_Pl_e" $ gsl_sf_legendre_Pl_e l x | ||
63 | foreign import ccall "legendre.h gsl_sf_legendre_Pl_e" gsl_sf_legendre_Pl_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
64 | |||
65 | -- | wrapper for double gsl_sf_legendre_Pl(int l,double x); | ||
66 | legendre_Pl :: Int -> Double -> Double | ||
67 | legendre_Pl = gsl_sf_legendre_Pl | ||
68 | foreign import ccall "legendre.h gsl_sf_legendre_Pl" gsl_sf_legendre_Pl :: Int -> Double -> Double | ||
69 | |||
70 | -- | wrapper for int gsl_sf_legendre_Pl_array(int lmax,double x,double* result_array); | ||
71 | legendre_Pl_array :: Int -> Double -> Ptr Double -> Int | ||
72 | legendre_Pl_array = gsl_sf_legendre_Pl_array | ||
73 | foreign import ccall "legendre.h gsl_sf_legendre_Pl_array" gsl_sf_legendre_Pl_array :: Int -> Double -> Ptr Double -> Int | ||
74 | |||
75 | -- | wrapper for int gsl_sf_legendre_Pl_deriv_array(int lmax,double x,double* result_array,double* result_deriv_array); | ||
76 | legendre_Pl_deriv_array :: Int -> Double -> Ptr Double -> Ptr Double -> Int | ||
77 | legendre_Pl_deriv_array = gsl_sf_legendre_Pl_deriv_array | ||
78 | foreign import ccall "legendre.h gsl_sf_legendre_Pl_deriv_array" gsl_sf_legendre_Pl_deriv_array :: Int -> Double -> Ptr Double -> Ptr Double -> Int | ||
79 | |||
80 | -- | wrapper for int gsl_sf_legendre_P1_e(double x,gsl_sf_result* result); | ||
81 | legendre_P1_e :: Double -> (Double,Double) | ||
82 | legendre_P1_e x = createSFR "legendre_P1_e" $ gsl_sf_legendre_P1_e x | ||
83 | foreign import ccall "legendre.h gsl_sf_legendre_P1_e" gsl_sf_legendre_P1_e :: Double -> Ptr Double -> IO(Int) | ||
84 | |||
85 | -- | wrapper for int gsl_sf_legendre_P2_e(double x,gsl_sf_result* result); | ||
86 | legendre_P2_e :: Double -> (Double,Double) | ||
87 | legendre_P2_e x = createSFR "legendre_P2_e" $ gsl_sf_legendre_P2_e x | ||
88 | foreign import ccall "legendre.h gsl_sf_legendre_P2_e" gsl_sf_legendre_P2_e :: Double -> Ptr Double -> IO(Int) | ||
89 | |||
90 | -- | wrapper for int gsl_sf_legendre_P3_e(double x,gsl_sf_result* result); | ||
91 | legendre_P3_e :: Double -> (Double,Double) | ||
92 | legendre_P3_e x = createSFR "legendre_P3_e" $ gsl_sf_legendre_P3_e x | ||
93 | foreign import ccall "legendre.h gsl_sf_legendre_P3_e" gsl_sf_legendre_P3_e :: Double -> Ptr Double -> IO(Int) | ||
94 | |||
95 | -- | wrapper for double gsl_sf_legendre_P1(double x); | ||
96 | legendre_P1 :: Double -> Double | ||
97 | legendre_P1 = gsl_sf_legendre_P1 | ||
98 | foreign import ccall "legendre.h gsl_sf_legendre_P1" gsl_sf_legendre_P1 :: Double -> Double | ||
99 | |||
100 | -- | wrapper for double gsl_sf_legendre_P2(double x); | ||
101 | legendre_P2 :: Double -> Double | ||
102 | legendre_P2 = gsl_sf_legendre_P2 | ||
103 | foreign import ccall "legendre.h gsl_sf_legendre_P2" gsl_sf_legendre_P2 :: Double -> Double | ||
104 | |||
105 | -- | wrapper for double gsl_sf_legendre_P3(double x); | ||
106 | legendre_P3 :: Double -> Double | ||
107 | legendre_P3 = gsl_sf_legendre_P3 | ||
108 | foreign import ccall "legendre.h gsl_sf_legendre_P3" gsl_sf_legendre_P3 :: Double -> Double | ||
109 | |||
110 | -- | wrapper for int gsl_sf_legendre_Q0_e(double x,gsl_sf_result* result); | ||
111 | legendre_Q0_e :: Double -> (Double,Double) | ||
112 | legendre_Q0_e x = createSFR "legendre_Q0_e" $ gsl_sf_legendre_Q0_e x | ||
113 | foreign import ccall "legendre.h gsl_sf_legendre_Q0_e" gsl_sf_legendre_Q0_e :: Double -> Ptr Double -> IO(Int) | ||
114 | |||
115 | -- | wrapper for double gsl_sf_legendre_Q0(double x); | ||
116 | legendre_Q0 :: Double -> Double | ||
117 | legendre_Q0 = gsl_sf_legendre_Q0 | ||
118 | foreign import ccall "legendre.h gsl_sf_legendre_Q0" gsl_sf_legendre_Q0 :: Double -> Double | ||
119 | |||
120 | -- | wrapper for int gsl_sf_legendre_Q1_e(double x,gsl_sf_result* result); | ||
121 | legendre_Q1_e :: Double -> (Double,Double) | ||
122 | legendre_Q1_e x = createSFR "legendre_Q1_e" $ gsl_sf_legendre_Q1_e x | ||
123 | foreign import ccall "legendre.h gsl_sf_legendre_Q1_e" gsl_sf_legendre_Q1_e :: Double -> Ptr Double -> IO(Int) | ||
124 | |||
125 | -- | wrapper for double gsl_sf_legendre_Q1(double x); | ||
126 | legendre_Q1 :: Double -> Double | ||
127 | legendre_Q1 = gsl_sf_legendre_Q1 | ||
128 | foreign import ccall "legendre.h gsl_sf_legendre_Q1" gsl_sf_legendre_Q1 :: Double -> Double | ||
129 | |||
130 | -- | wrapper for int gsl_sf_legendre_Ql_e(int l,double x,gsl_sf_result* result); | ||
131 | legendre_Ql_e :: Int -> Double -> (Double,Double) | ||
132 | legendre_Ql_e l x = createSFR "legendre_Ql_e" $ gsl_sf_legendre_Ql_e l x | ||
133 | foreign import ccall "legendre.h gsl_sf_legendre_Ql_e" gsl_sf_legendre_Ql_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
134 | |||
135 | -- | wrapper for double gsl_sf_legendre_Ql(int l,double x); | ||
136 | legendre_Ql :: Int -> Double -> Double | ||
137 | legendre_Ql = gsl_sf_legendre_Ql | ||
138 | foreign import ccall "legendre.h gsl_sf_legendre_Ql" gsl_sf_legendre_Ql :: Int -> Double -> Double | ||
139 | |||
140 | -- | wrapper for int gsl_sf_legendre_Plm_e(int l,int m,double x,gsl_sf_result* result); | ||
141 | legendre_Plm_e :: Int -> Int -> Double -> (Double,Double) | ||
142 | legendre_Plm_e l m x = createSFR "legendre_Plm_e" $ gsl_sf_legendre_Plm_e l m x | ||
143 | foreign import ccall "legendre.h gsl_sf_legendre_Plm_e" gsl_sf_legendre_Plm_e :: Int -> Int -> Double -> Ptr Double -> IO(Int) | ||
144 | |||
145 | -- | wrapper for double gsl_sf_legendre_Plm(int l,int m,double x); | ||
146 | legendre_Plm :: Int -> Int -> Double -> Double | ||
147 | legendre_Plm = gsl_sf_legendre_Plm | ||
148 | foreign import ccall "legendre.h gsl_sf_legendre_Plm" gsl_sf_legendre_Plm :: Int -> Int -> Double -> Double | ||
149 | |||
150 | -- | wrapper for int gsl_sf_legendre_Plm_array(int lmax,int m,double x,double* result_array); | ||
151 | legendre_Plm_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
152 | legendre_Plm_array = gsl_sf_legendre_Plm_array | ||
153 | foreign import ccall "legendre.h gsl_sf_legendre_Plm_array" gsl_sf_legendre_Plm_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
154 | |||
155 | -- | wrapper for int gsl_sf_legendre_Plm_deriv_array(int lmax,int m,double x,double* result_array,double* result_deriv_array); | ||
156 | legendre_Plm_deriv_array :: Int -> Int -> Double -> Ptr Double -> Ptr Double -> Int | ||
157 | legendre_Plm_deriv_array = gsl_sf_legendre_Plm_deriv_array | ||
158 | foreign import ccall "legendre.h gsl_sf_legendre_Plm_deriv_array" gsl_sf_legendre_Plm_deriv_array :: Int -> Int -> Double -> Ptr Double -> Ptr Double -> Int | ||
159 | |||
160 | -- | wrapper for int gsl_sf_legendre_sphPlm_e(int l,int m,double x,gsl_sf_result* result); | ||
161 | legendre_sphPlm_e :: Int -> Int -> Double -> (Double,Double) | ||
162 | legendre_sphPlm_e l m x = createSFR "legendre_sphPlm_e" $ gsl_sf_legendre_sphPlm_e l m x | ||
163 | foreign import ccall "legendre.h gsl_sf_legendre_sphPlm_e" gsl_sf_legendre_sphPlm_e :: Int -> Int -> Double -> Ptr Double -> IO(Int) | ||
164 | |||
165 | -- | wrapper for double gsl_sf_legendre_sphPlm(int l,int m,double x); | ||
166 | legendre_sphPlm :: Int -> Int -> Double -> Double | ||
167 | legendre_sphPlm = gsl_sf_legendre_sphPlm | ||
168 | foreign import ccall "legendre.h gsl_sf_legendre_sphPlm" gsl_sf_legendre_sphPlm :: Int -> Int -> Double -> Double | ||
169 | |||
170 | -- | wrapper for int gsl_sf_legendre_sphPlm_array(int lmax,int m,double x,double* result_array); | ||
171 | legendre_sphPlm_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
172 | legendre_sphPlm_array = gsl_sf_legendre_sphPlm_array | ||
173 | foreign import ccall "legendre.h gsl_sf_legendre_sphPlm_array" gsl_sf_legendre_sphPlm_array :: Int -> Int -> Double -> Ptr Double -> Int | ||
174 | |||
175 | -- | wrapper for int gsl_sf_legendre_sphPlm_deriv_array(int lmax,int m,double x,double* result_array,double* result_deriv_array); | ||
176 | legendre_sphPlm_deriv_array :: Int -> Int -> Double -> Ptr Double -> Ptr Double -> Int | ||
177 | legendre_sphPlm_deriv_array = gsl_sf_legendre_sphPlm_deriv_array | ||
178 | foreign import ccall "legendre.h gsl_sf_legendre_sphPlm_deriv_array" gsl_sf_legendre_sphPlm_deriv_array :: Int -> Int -> Double -> Ptr Double -> Ptr Double -> Int | ||
179 | |||
180 | -- | wrapper for int gsl_sf_legendre_array_size(int lmax,int m); | ||
181 | legendre_array_size :: Int -> Int -> Int | ||
182 | legendre_array_size = gsl_sf_legendre_array_size | ||
183 | foreign import ccall "legendre.h gsl_sf_legendre_array_size" gsl_sf_legendre_array_size :: Int -> Int -> Int | ||
184 | |||
185 | -- | wrapper for int gsl_sf_conicalP_half_e(double lambda,double x,gsl_sf_result* result); | ||
186 | conicalP_half_e :: Double -> Double -> (Double,Double) | ||
187 | conicalP_half_e lambda x = createSFR "conicalP_half_e" $ gsl_sf_conicalP_half_e lambda x | ||
188 | foreign import ccall "legendre.h gsl_sf_conicalP_half_e" gsl_sf_conicalP_half_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
189 | |||
190 | -- | wrapper for double gsl_sf_conicalP_half(double lambda,double x); | ||
191 | conicalP_half :: Double -> Double -> Double | ||
192 | conicalP_half = gsl_sf_conicalP_half | ||
193 | foreign import ccall "legendre.h gsl_sf_conicalP_half" gsl_sf_conicalP_half :: Double -> Double -> Double | ||
194 | |||
195 | -- | wrapper for int gsl_sf_conicalP_mhalf_e(double lambda,double x,gsl_sf_result* result); | ||
196 | conicalP_mhalf_e :: Double -> Double -> (Double,Double) | ||
197 | conicalP_mhalf_e lambda x = createSFR "conicalP_mhalf_e" $ gsl_sf_conicalP_mhalf_e lambda x | ||
198 | foreign import ccall "legendre.h gsl_sf_conicalP_mhalf_e" gsl_sf_conicalP_mhalf_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
199 | |||
200 | -- | wrapper for double gsl_sf_conicalP_mhalf(double lambda,double x); | ||
201 | conicalP_mhalf :: Double -> Double -> Double | ||
202 | conicalP_mhalf = gsl_sf_conicalP_mhalf | ||
203 | foreign import ccall "legendre.h gsl_sf_conicalP_mhalf" gsl_sf_conicalP_mhalf :: Double -> Double -> Double | ||
204 | |||
205 | -- | wrapper for int gsl_sf_conicalP_0_e(double lambda,double x,gsl_sf_result* result); | ||
206 | conicalP_0_e :: Double -> Double -> (Double,Double) | ||
207 | conicalP_0_e lambda x = createSFR "conicalP_0_e" $ gsl_sf_conicalP_0_e lambda x | ||
208 | foreign import ccall "legendre.h gsl_sf_conicalP_0_e" gsl_sf_conicalP_0_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
209 | |||
210 | -- | wrapper for double gsl_sf_conicalP_0(double lambda,double x); | ||
211 | conicalP_0 :: Double -> Double -> Double | ||
212 | conicalP_0 = gsl_sf_conicalP_0 | ||
213 | foreign import ccall "legendre.h gsl_sf_conicalP_0" gsl_sf_conicalP_0 :: Double -> Double -> Double | ||
214 | |||
215 | -- | wrapper for int gsl_sf_conicalP_1_e(double lambda,double x,gsl_sf_result* result); | ||
216 | conicalP_1_e :: Double -> Double -> (Double,Double) | ||
217 | conicalP_1_e lambda x = createSFR "conicalP_1_e" $ gsl_sf_conicalP_1_e lambda x | ||
218 | foreign import ccall "legendre.h gsl_sf_conicalP_1_e" gsl_sf_conicalP_1_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
219 | |||
220 | -- | wrapper for double gsl_sf_conicalP_1(double lambda,double x); | ||
221 | conicalP_1 :: Double -> Double -> Double | ||
222 | conicalP_1 = gsl_sf_conicalP_1 | ||
223 | foreign import ccall "legendre.h gsl_sf_conicalP_1" gsl_sf_conicalP_1 :: Double -> Double -> Double | ||
224 | |||
225 | -- | wrapper for int gsl_sf_conicalP_sph_reg_e(int l,double lambda,double x,gsl_sf_result* result); | ||
226 | conicalP_sph_reg_e :: Int -> Double -> Double -> (Double,Double) | ||
227 | conicalP_sph_reg_e l lambda x = createSFR "conicalP_sph_reg_e" $ gsl_sf_conicalP_sph_reg_e l lambda x | ||
228 | foreign import ccall "legendre.h gsl_sf_conicalP_sph_reg_e" gsl_sf_conicalP_sph_reg_e :: Int -> Double -> Double -> Ptr Double -> IO(Int) | ||
229 | |||
230 | -- | wrapper for double gsl_sf_conicalP_sph_reg(int l,double lambda,double x); | ||
231 | conicalP_sph_reg :: Int -> Double -> Double -> Double | ||
232 | conicalP_sph_reg = gsl_sf_conicalP_sph_reg | ||
233 | foreign import ccall "legendre.h gsl_sf_conicalP_sph_reg" gsl_sf_conicalP_sph_reg :: Int -> Double -> Double -> Double | ||
234 | |||
235 | -- | wrapper for int gsl_sf_conicalP_cyl_reg_e(int m,double lambda,double x,gsl_sf_result* result); | ||
236 | conicalP_cyl_reg_e :: Int -> Double -> Double -> (Double,Double) | ||
237 | conicalP_cyl_reg_e m lambda x = createSFR "conicalP_cyl_reg_e" $ gsl_sf_conicalP_cyl_reg_e m lambda x | ||
238 | foreign import ccall "legendre.h gsl_sf_conicalP_cyl_reg_e" gsl_sf_conicalP_cyl_reg_e :: Int -> Double -> Double -> Ptr Double -> IO(Int) | ||
239 | |||
240 | -- | wrapper for double gsl_sf_conicalP_cyl_reg(int m,double lambda,double x); | ||
241 | conicalP_cyl_reg :: Int -> Double -> Double -> Double | ||
242 | conicalP_cyl_reg = gsl_sf_conicalP_cyl_reg | ||
243 | foreign import ccall "legendre.h gsl_sf_conicalP_cyl_reg" gsl_sf_conicalP_cyl_reg :: Int -> Double -> Double -> Double | ||
244 | |||
245 | -- | wrapper for int gsl_sf_legendre_H3d_0_e(double lambda,double eta,gsl_sf_result* result); | ||
246 | legendre_H3d_0_e :: Double -> Double -> (Double,Double) | ||
247 | legendre_H3d_0_e lambda eta = createSFR "legendre_H3d_0_e" $ gsl_sf_legendre_H3d_0_e lambda eta | ||
248 | foreign import ccall "legendre.h gsl_sf_legendre_H3d_0_e" gsl_sf_legendre_H3d_0_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
249 | |||
250 | -- | wrapper for double gsl_sf_legendre_H3d_0(double lambda,double eta); | ||
251 | legendre_H3d_0 :: Double -> Double -> Double | ||
252 | legendre_H3d_0 = gsl_sf_legendre_H3d_0 | ||
253 | foreign import ccall "legendre.h gsl_sf_legendre_H3d_0" gsl_sf_legendre_H3d_0 :: Double -> Double -> Double | ||
254 | |||
255 | -- | wrapper for int gsl_sf_legendre_H3d_1_e(double lambda,double eta,gsl_sf_result* result); | ||
256 | legendre_H3d_1_e :: Double -> Double -> (Double,Double) | ||
257 | legendre_H3d_1_e lambda eta = createSFR "legendre_H3d_1_e" $ gsl_sf_legendre_H3d_1_e lambda eta | ||
258 | foreign import ccall "legendre.h gsl_sf_legendre_H3d_1_e" gsl_sf_legendre_H3d_1_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
259 | |||
260 | -- | wrapper for double gsl_sf_legendre_H3d_1(double lambda,double eta); | ||
261 | legendre_H3d_1 :: Double -> Double -> Double | ||
262 | legendre_H3d_1 = gsl_sf_legendre_H3d_1 | ||
263 | foreign import ccall "legendre.h gsl_sf_legendre_H3d_1" gsl_sf_legendre_H3d_1 :: Double -> Double -> Double | ||
264 | |||
265 | -- | wrapper for int gsl_sf_legendre_H3d_e(int l,double lambda,double eta,gsl_sf_result* result); | ||
266 | legendre_H3d_e :: Int -> Double -> Double -> (Double,Double) | ||
267 | legendre_H3d_e l lambda eta = createSFR "legendre_H3d_e" $ gsl_sf_legendre_H3d_e l lambda eta | ||
268 | foreign import ccall "legendre.h gsl_sf_legendre_H3d_e" gsl_sf_legendre_H3d_e :: Int -> Double -> Double -> Ptr Double -> IO(Int) | ||
269 | |||
270 | -- | wrapper for double gsl_sf_legendre_H3d(int l,double lambda,double eta); | ||
271 | legendre_H3d :: Int -> Double -> Double -> Double | ||
272 | legendre_H3d = gsl_sf_legendre_H3d | ||
273 | foreign import ccall "legendre.h gsl_sf_legendre_H3d" gsl_sf_legendre_H3d :: Int -> Double -> Double -> Double | ||
274 | |||
275 | -- | wrapper for int gsl_sf_legendre_H3d_array(int lmax,double lambda,double eta,double* result_array); | ||
276 | legendre_H3d_array :: Int -> Double -> Double -> Ptr Double -> Int | ||
277 | legendre_H3d_array = gsl_sf_legendre_H3d_array | ||
278 | foreign import ccall "legendre.h gsl_sf_legendre_H3d_array" gsl_sf_legendre_H3d_array :: Int -> Double -> Double -> Ptr Double -> Int | ||
diff --git a/lib/GSL/Special/Log.hs b/lib/GSL/Special/Log.hs deleted file mode 100644 index 0d62e99..0000000 --- a/lib/GSL/Special/Log.hs +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Log | ||
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/Logarithm-and-Related-Functions.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Log( | ||
18 | log_e | ||
19 | , GSL.Special.Log.log | ||
20 | , log_abs_e | ||
21 | , log_abs | ||
22 | , log_1plusx_e | ||
23 | , log_1plusx | ||
24 | , log_1plusx_mx_e | ||
25 | , log_1plusx_mx | ||
26 | ) where | ||
27 | |||
28 | import Foreign(Ptr) | ||
29 | import GSL.Special.Internal | ||
30 | |||
31 | -- | wrapper for int gsl_sf_log_e(double x,gsl_sf_result* result); | ||
32 | log_e :: Double -> (Double,Double) | ||
33 | log_e x = createSFR "log_e" $ gsl_sf_log_e x | ||
34 | foreign import ccall "log.h gsl_sf_log_e" gsl_sf_log_e :: Double -> Ptr Double -> IO(Int) | ||
35 | |||
36 | -- | wrapper for double gsl_sf_log(double x); | ||
37 | log :: Double -> Double | ||
38 | log = gsl_sf_log | ||
39 | foreign import ccall "log.h gsl_sf_log" gsl_sf_log :: Double -> Double | ||
40 | |||
41 | -- | wrapper for int gsl_sf_log_abs_e(double x,gsl_sf_result* result); | ||
42 | log_abs_e :: Double -> (Double,Double) | ||
43 | log_abs_e x = createSFR "log_abs_e" $ gsl_sf_log_abs_e x | ||
44 | foreign import ccall "log.h gsl_sf_log_abs_e" gsl_sf_log_abs_e :: Double -> Ptr Double -> IO(Int) | ||
45 | |||
46 | -- | wrapper for double gsl_sf_log_abs(double x); | ||
47 | log_abs :: Double -> Double | ||
48 | log_abs = gsl_sf_log_abs | ||
49 | foreign import ccall "log.h gsl_sf_log_abs" gsl_sf_log_abs :: Double -> Double | ||
50 | |||
51 | -- | wrapper for int gsl_sf_complex_log_e(double zr,double zi,gsl_sf_result* lnr,gsl_sf_result* theta); | ||
52 | complex_log_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
53 | complex_log_e zr zi lnr = createSFR "complex_log_e" $ gsl_sf_complex_log_e zr zi lnr | ||
54 | foreign import ccall "log.h gsl_sf_complex_log_e" gsl_sf_complex_log_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
55 | |||
56 | -- | wrapper for int gsl_sf_log_1plusx_e(double x,gsl_sf_result* result); | ||
57 | log_1plusx_e :: Double -> (Double,Double) | ||
58 | log_1plusx_e x = createSFR "log_1plusx_e" $ gsl_sf_log_1plusx_e x | ||
59 | foreign import ccall "log.h gsl_sf_log_1plusx_e" gsl_sf_log_1plusx_e :: Double -> Ptr Double -> IO(Int) | ||
60 | |||
61 | -- | wrapper for double gsl_sf_log_1plusx(double x); | ||
62 | log_1plusx :: Double -> Double | ||
63 | log_1plusx = gsl_sf_log_1plusx | ||
64 | foreign import ccall "log.h gsl_sf_log_1plusx" gsl_sf_log_1plusx :: Double -> Double | ||
65 | |||
66 | -- | wrapper for int gsl_sf_log_1plusx_mx_e(double x,gsl_sf_result* result); | ||
67 | log_1plusx_mx_e :: Double -> (Double,Double) | ||
68 | log_1plusx_mx_e x = createSFR "log_1plusx_mx_e" $ gsl_sf_log_1plusx_mx_e x | ||
69 | foreign import ccall "log.h gsl_sf_log_1plusx_mx_e" gsl_sf_log_1plusx_mx_e :: Double -> Ptr Double -> IO(Int) | ||
70 | |||
71 | -- | wrapper for double gsl_sf_log_1plusx_mx(double x); | ||
72 | log_1plusx_mx :: Double -> Double | ||
73 | log_1plusx_mx = gsl_sf_log_1plusx_mx | ||
74 | foreign import ccall "log.h gsl_sf_log_1plusx_mx" gsl_sf_log_1plusx_mx :: Double -> Double | ||
diff --git a/lib/GSL/Special/Pow_int.hs b/lib/GSL/Special/Pow_int.hs deleted file mode 100644 index 4142c5b..0000000 --- a/lib/GSL/Special/Pow_int.hs +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Pow_int | ||
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.google.com/search?q=gsl_sf_pow_int.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Pow_int( | ||
18 | pow_int_e | ||
19 | , pow_int | ||
20 | ) where | ||
21 | |||
22 | import Foreign(Ptr) | ||
23 | import GSL.Special.Internal | ||
24 | |||
25 | -- | wrapper for int gsl_sf_pow_int_e(double x,int n,gsl_sf_result* result); | ||
26 | -- | ||
27 | -- <http://www.google.com/search?q=gsl_sf_pow_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
28 | pow_int_e :: Double -> Int -> (Double,Double) | ||
29 | pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n | ||
30 | foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> Int -> Ptr Double -> IO(Int) | ||
31 | |||
32 | -- | wrapper for double gsl_sf_pow_int(double x,int n); | ||
33 | -- | ||
34 | -- <http://www.google.com/search?q=gsl_sf_pow_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
35 | pow_int :: Double -> Int -> Double | ||
36 | pow_int = gsl_sf_pow_int | ||
37 | foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double | ||
diff --git a/lib/GSL/Special/Psi.hs b/lib/GSL/Special/Psi.hs deleted file mode 100644 index bee934b..0000000 --- a/lib/GSL/Special/Psi.hs +++ /dev/null | |||
@@ -1,117 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Psi | ||
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.google.com/search?q=gsl_sf_psi.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Psi( | ||
18 | psi_int_e | ||
19 | , psi_int | ||
20 | , psi_e | ||
21 | , psi | ||
22 | , psi_1piy_e | ||
23 | , psi_1piy | ||
24 | , psi_1_int_e | ||
25 | , psi_1_int | ||
26 | , psi_1_e | ||
27 | , psi_1 | ||
28 | , psi_n_e | ||
29 | , psi_n | ||
30 | ) where | ||
31 | |||
32 | import Foreign(Ptr) | ||
33 | import GSL.Special.Internal | ||
34 | |||
35 | -- | wrapper for int gsl_sf_psi_int_e(int n,gsl_sf_result* result); | ||
36 | -- | ||
37 | -- <http://www.google.com/search?q=gsl_sf_psi_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
38 | psi_int_e :: Int -> (Double,Double) | ||
39 | psi_int_e n = createSFR "psi_int_e" $ gsl_sf_psi_int_e n | ||
40 | foreign import ccall "psi.h gsl_sf_psi_int_e" gsl_sf_psi_int_e :: Int -> Ptr Double -> IO(Int) | ||
41 | |||
42 | -- | wrapper for double gsl_sf_psi_int(int n); | ||
43 | -- | ||
44 | -- <http://www.google.com/search?q=gsl_sf_psi_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
45 | psi_int :: Int -> Double | ||
46 | psi_int = gsl_sf_psi_int | ||
47 | foreign import ccall "psi.h gsl_sf_psi_int" gsl_sf_psi_int :: Int -> Double | ||
48 | |||
49 | -- | wrapper for int gsl_sf_psi_e(double x,gsl_sf_result* result); | ||
50 | -- | ||
51 | -- <http://www.google.com/search?q=gsl_sf_psi_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
52 | psi_e :: Double -> (Double,Double) | ||
53 | psi_e x = createSFR "psi_e" $ gsl_sf_psi_e x | ||
54 | foreign import ccall "psi.h gsl_sf_psi_e" gsl_sf_psi_e :: Double -> Ptr Double -> IO(Int) | ||
55 | |||
56 | -- | wrapper for double gsl_sf_psi(double x); | ||
57 | -- | ||
58 | -- <http://www.google.com/search?q=gsl_sf_psi&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
59 | psi :: Double -> Double | ||
60 | psi = gsl_sf_psi | ||
61 | foreign import ccall "psi.h gsl_sf_psi" gsl_sf_psi :: Double -> Double | ||
62 | |||
63 | -- | wrapper for int gsl_sf_psi_1piy_e(double y,gsl_sf_result* result); | ||
64 | -- | ||
65 | -- <http://www.google.com/search?q=gsl_sf_psi_1piy_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
66 | psi_1piy_e :: Double -> (Double,Double) | ||
67 | psi_1piy_e y = createSFR "psi_1piy_e" $ gsl_sf_psi_1piy_e y | ||
68 | foreign import ccall "psi.h gsl_sf_psi_1piy_e" gsl_sf_psi_1piy_e :: Double -> Ptr Double -> IO(Int) | ||
69 | |||
70 | -- | wrapper for double gsl_sf_psi_1piy(double y); | ||
71 | -- | ||
72 | -- <http://www.google.com/search?q=gsl_sf_psi_1piy&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
73 | psi_1piy :: Double -> Double | ||
74 | psi_1piy = gsl_sf_psi_1piy | ||
75 | foreign import ccall "psi.h gsl_sf_psi_1piy" gsl_sf_psi_1piy :: Double -> Double | ||
76 | |||
77 | -- | wrapper for int gsl_sf_psi_1_int_e(int n,gsl_sf_result* result); | ||
78 | -- | ||
79 | -- <http://www.google.com/search?q=gsl_sf_psi_1_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
80 | psi_1_int_e :: Int -> (Double,Double) | ||
81 | psi_1_int_e n = createSFR "psi_1_int_e" $ gsl_sf_psi_1_int_e n | ||
82 | foreign import ccall "psi.h gsl_sf_psi_1_int_e" gsl_sf_psi_1_int_e :: Int -> Ptr Double -> IO(Int) | ||
83 | |||
84 | -- | wrapper for double gsl_sf_psi_1_int(int n); | ||
85 | -- | ||
86 | -- <http://www.google.com/search?q=gsl_sf_psi_1_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
87 | psi_1_int :: Int -> Double | ||
88 | psi_1_int = gsl_sf_psi_1_int | ||
89 | foreign import ccall "psi.h gsl_sf_psi_1_int" gsl_sf_psi_1_int :: Int -> Double | ||
90 | |||
91 | -- | wrapper for int gsl_sf_psi_1_e(double x,gsl_sf_result* result); | ||
92 | -- | ||
93 | -- <http://www.google.com/search?q=gsl_sf_psi_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
94 | psi_1_e :: Double -> (Double,Double) | ||
95 | psi_1_e x = createSFR "psi_1_e" $ gsl_sf_psi_1_e x | ||
96 | foreign import ccall "psi.h gsl_sf_psi_1_e" gsl_sf_psi_1_e :: Double -> Ptr Double -> IO(Int) | ||
97 | |||
98 | -- | wrapper for double gsl_sf_psi_1(double x); | ||
99 | -- | ||
100 | -- <http://www.google.com/search?q=gsl_sf_psi_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
101 | psi_1 :: Double -> Double | ||
102 | psi_1 = gsl_sf_psi_1 | ||
103 | foreign import ccall "psi.h gsl_sf_psi_1" gsl_sf_psi_1 :: Double -> Double | ||
104 | |||
105 | -- | wrapper for int gsl_sf_psi_n_e(int n,double x,gsl_sf_result* result); | ||
106 | -- | ||
107 | -- <http://www.google.com/search?q=gsl_sf_psi_n_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
108 | psi_n_e :: Int -> Double -> (Double,Double) | ||
109 | psi_n_e n x = createSFR "psi_n_e" $ gsl_sf_psi_n_e n x | ||
110 | foreign import ccall "psi.h gsl_sf_psi_n_e" gsl_sf_psi_n_e :: Int -> Double -> Ptr Double -> IO(Int) | ||
111 | |||
112 | -- | wrapper for double gsl_sf_psi_n(int n,double x); | ||
113 | -- | ||
114 | -- <http://www.google.com/search?q=gsl_sf_psi_n&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
115 | psi_n :: Int -> Double -> Double | ||
116 | psi_n = gsl_sf_psi_n | ||
117 | foreign import ccall "psi.h gsl_sf_psi_n" gsl_sf_psi_n :: Int -> Double -> Double | ||
diff --git a/lib/GSL/Special/Synchrotron.hs b/lib/GSL/Special/Synchrotron.hs deleted file mode 100644 index 2ed484b..0000000 --- a/lib/GSL/Special/Synchrotron.hs +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Synchrotron | ||
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.google.com/search?q=gsl_sf_synchrotron.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Synchrotron( | ||
18 | synchrotron_1_e | ||
19 | , synchrotron_1 | ||
20 | , synchrotron_2_e | ||
21 | , synchrotron_2 | ||
22 | ) where | ||
23 | |||
24 | import Foreign(Ptr) | ||
25 | import GSL.Special.Internal | ||
26 | |||
27 | -- | wrapper for int gsl_sf_synchrotron_1_e(double x,gsl_sf_result* result); | ||
28 | -- | ||
29 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
30 | synchrotron_1_e :: Double -> (Double,Double) | ||
31 | synchrotron_1_e x = createSFR "synchrotron_1_e" $ gsl_sf_synchrotron_1_e x | ||
32 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_1_e" gsl_sf_synchrotron_1_e :: Double -> Ptr Double -> IO(Int) | ||
33 | |||
34 | -- | wrapper for double gsl_sf_synchrotron_1(double x); | ||
35 | -- | ||
36 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
37 | synchrotron_1 :: Double -> Double | ||
38 | synchrotron_1 = gsl_sf_synchrotron_1 | ||
39 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_1" gsl_sf_synchrotron_1 :: Double -> Double | ||
40 | |||
41 | -- | wrapper for int gsl_sf_synchrotron_2_e(double x,gsl_sf_result* result); | ||
42 | -- | ||
43 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
44 | synchrotron_2_e :: Double -> (Double,Double) | ||
45 | synchrotron_2_e x = createSFR "synchrotron_2_e" $ gsl_sf_synchrotron_2_e x | ||
46 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_2_e" gsl_sf_synchrotron_2_e :: Double -> Ptr Double -> IO(Int) | ||
47 | |||
48 | -- | wrapper for double gsl_sf_synchrotron_2(double x); | ||
49 | -- | ||
50 | -- <http://www.google.com/search?q=gsl_sf_synchrotron_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
51 | synchrotron_2 :: Double -> Double | ||
52 | synchrotron_2 = gsl_sf_synchrotron_2 | ||
53 | foreign import ccall "synchrotron.h gsl_sf_synchrotron_2" gsl_sf_synchrotron_2 :: Double -> Double | ||
diff --git a/lib/GSL/Special/Trig.hs b/lib/GSL/Special/Trig.hs deleted file mode 100644 index 4d37a05..0000000 --- a/lib/GSL/Special/Trig.hs +++ /dev/null | |||
@@ -1,164 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Trig | ||
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/Trigonometric-Functions.html> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Trig( | ||
18 | sin_e | ||
19 | , GSL.Special.Trig.sin | ||
20 | , cos_e | ||
21 | , GSL.Special.Trig.cos | ||
22 | , hypot_e | ||
23 | , hypot | ||
24 | , sinc_e | ||
25 | , sinc | ||
26 | , lnsinh_e | ||
27 | , lnsinh | ||
28 | , lncosh_e | ||
29 | , lncosh | ||
30 | , sin_err_e | ||
31 | , cos_err_e | ||
32 | , angle_restrict_symm | ||
33 | , angle_restrict_pos | ||
34 | , angle_restrict_symm_err_e | ||
35 | , angle_restrict_pos_err_e | ||
36 | ) where | ||
37 | |||
38 | import Foreign(Ptr) | ||
39 | import GSL.Special.Internal | ||
40 | |||
41 | -- | wrapper for int gsl_sf_sin_e(double x,gsl_sf_result* result); | ||
42 | sin_e :: Double -> (Double,Double) | ||
43 | sin_e x = createSFR "sin_e" $ gsl_sf_sin_e x | ||
44 | foreign import ccall "trig.h gsl_sf_sin_e" gsl_sf_sin_e :: Double -> Ptr Double -> IO(Int) | ||
45 | |||
46 | -- | wrapper for double gsl_sf_sin(double x); | ||
47 | sin :: Double -> Double | ||
48 | sin = gsl_sf_sin | ||
49 | foreign import ccall "trig.h gsl_sf_sin" gsl_sf_sin :: Double -> Double | ||
50 | |||
51 | -- | wrapper for int gsl_sf_cos_e(double x,gsl_sf_result* result); | ||
52 | cos_e :: Double -> (Double,Double) | ||
53 | cos_e x = createSFR "cos_e" $ gsl_sf_cos_e x | ||
54 | foreign import ccall "trig.h gsl_sf_cos_e" gsl_sf_cos_e :: Double -> Ptr Double -> IO(Int) | ||
55 | |||
56 | -- | wrapper for double gsl_sf_cos(double x); | ||
57 | cos :: Double -> Double | ||
58 | cos = gsl_sf_cos | ||
59 | foreign import ccall "trig.h gsl_sf_cos" gsl_sf_cos :: Double -> Double | ||
60 | |||
61 | -- | wrapper for int gsl_sf_hypot_e(double x,double y,gsl_sf_result* result); | ||
62 | hypot_e :: Double -> Double -> (Double,Double) | ||
63 | hypot_e x y = createSFR "hypot_e" $ gsl_sf_hypot_e x y | ||
64 | foreign import ccall "trig.h gsl_sf_hypot_e" gsl_sf_hypot_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
65 | |||
66 | -- | wrapper for double gsl_sf_hypot(double x,double y); | ||
67 | hypot :: Double -> Double -> Double | ||
68 | hypot = gsl_sf_hypot | ||
69 | foreign import ccall "trig.h gsl_sf_hypot" gsl_sf_hypot :: Double -> Double -> Double | ||
70 | |||
71 | -- | wrapper for int gsl_sf_complex_sin_e(double zr,double zi,gsl_sf_result* szr,gsl_sf_result* szi); | ||
72 | complex_sin_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
73 | complex_sin_e zr zi szr = createSFR "complex_sin_e" $ gsl_sf_complex_sin_e zr zi szr | ||
74 | foreign import ccall "trig.h gsl_sf_complex_sin_e" gsl_sf_complex_sin_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
75 | |||
76 | -- | wrapper for int gsl_sf_complex_cos_e(double zr,double zi,gsl_sf_result* czr,gsl_sf_result* czi); | ||
77 | complex_cos_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
78 | complex_cos_e zr zi czr = createSFR "complex_cos_e" $ gsl_sf_complex_cos_e zr zi czr | ||
79 | foreign import ccall "trig.h gsl_sf_complex_cos_e" gsl_sf_complex_cos_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
80 | |||
81 | -- | wrapper for int gsl_sf_complex_logsin_e(double zr,double zi,gsl_sf_result* lszr,gsl_sf_result* lszi); | ||
82 | complex_logsin_e :: Double -> Double -> Ptr Double -> (Double,Double) | ||
83 | complex_logsin_e zr zi lszr = createSFR "complex_logsin_e" $ gsl_sf_complex_logsin_e zr zi lszr | ||
84 | foreign import ccall "trig.h gsl_sf_complex_logsin_e" gsl_sf_complex_logsin_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
85 | |||
86 | -- | wrapper for int gsl_sf_sinc_e(double x,gsl_sf_result* result); | ||
87 | sinc_e :: Double -> (Double,Double) | ||
88 | sinc_e x = createSFR "sinc_e" $ gsl_sf_sinc_e x | ||
89 | foreign import ccall "trig.h gsl_sf_sinc_e" gsl_sf_sinc_e :: Double -> Ptr Double -> IO(Int) | ||
90 | |||
91 | -- | wrapper for double gsl_sf_sinc(double x); | ||
92 | sinc :: Double -> Double | ||
93 | sinc = gsl_sf_sinc | ||
94 | foreign import ccall "trig.h gsl_sf_sinc" gsl_sf_sinc :: Double -> Double | ||
95 | |||
96 | -- | wrapper for int gsl_sf_lnsinh_e(double x,gsl_sf_result* result); | ||
97 | lnsinh_e :: Double -> (Double,Double) | ||
98 | lnsinh_e x = createSFR "lnsinh_e" $ gsl_sf_lnsinh_e x | ||
99 | foreign import ccall "trig.h gsl_sf_lnsinh_e" gsl_sf_lnsinh_e :: Double -> Ptr Double -> IO(Int) | ||
100 | |||
101 | -- | wrapper for double gsl_sf_lnsinh(double x); | ||
102 | lnsinh :: Double -> Double | ||
103 | lnsinh = gsl_sf_lnsinh | ||
104 | foreign import ccall "trig.h gsl_sf_lnsinh" gsl_sf_lnsinh :: Double -> Double | ||
105 | |||
106 | -- | wrapper for int gsl_sf_lncosh_e(double x,gsl_sf_result* result); | ||
107 | lncosh_e :: Double -> (Double,Double) | ||
108 | lncosh_e x = createSFR "lncosh_e" $ gsl_sf_lncosh_e x | ||
109 | foreign import ccall "trig.h gsl_sf_lncosh_e" gsl_sf_lncosh_e :: Double -> Ptr Double -> IO(Int) | ||
110 | |||
111 | -- | wrapper for double gsl_sf_lncosh(double x); | ||
112 | lncosh :: Double -> Double | ||
113 | lncosh = gsl_sf_lncosh | ||
114 | foreign import ccall "trig.h gsl_sf_lncosh" gsl_sf_lncosh :: Double -> Double | ||
115 | |||
116 | -- | wrapper for int gsl_sf_polar_to_rect(double r,double theta,gsl_sf_result* x,gsl_sf_result* y); | ||
117 | polar_to_rect :: Double -> Double -> Ptr Double -> (Double,Double) | ||
118 | polar_to_rect r theta x = createSFR "polar_to_rect" $ gsl_sf_polar_to_rect r theta x | ||
119 | foreign import ccall "trig.h gsl_sf_polar_to_rect" gsl_sf_polar_to_rect :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
120 | |||
121 | -- | wrapper for int gsl_sf_rect_to_polar(double x,double y,gsl_sf_result* r,gsl_sf_result* theta); | ||
122 | rect_to_polar :: Double -> Double -> Ptr Double -> (Double,Double) | ||
123 | rect_to_polar x y r = createSFR "rect_to_polar" $ gsl_sf_rect_to_polar x y r | ||
124 | foreign import ccall "trig.h gsl_sf_rect_to_polar" gsl_sf_rect_to_polar :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | ||
125 | |||
126 | -- | wrapper for int gsl_sf_sin_err_e(double x,double dx,gsl_sf_result* result); | ||
127 | sin_err_e :: Double -> Double -> (Double,Double) | ||
128 | sin_err_e x dx = createSFR "sin_err_e" $ gsl_sf_sin_err_e x dx | ||
129 | foreign import ccall "trig.h gsl_sf_sin_err_e" gsl_sf_sin_err_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
130 | |||
131 | -- | wrapper for int gsl_sf_cos_err_e(double x,double dx,gsl_sf_result* result); | ||
132 | cos_err_e :: Double -> Double -> (Double,Double) | ||
133 | cos_err_e x dx = createSFR "cos_err_e" $ gsl_sf_cos_err_e x dx | ||
134 | foreign import ccall "trig.h gsl_sf_cos_err_e" gsl_sf_cos_err_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
135 | |||
136 | -- | wrapper for int gsl_sf_angle_restrict_symm_e(double* theta); | ||
137 | angle_restrict_symm_e :: Ptr Double -> Int | ||
138 | angle_restrict_symm_e = gsl_sf_angle_restrict_symm_e | ||
139 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm_e" gsl_sf_angle_restrict_symm_e :: Ptr Double -> Int | ||
140 | |||
141 | -- | wrapper for double gsl_sf_angle_restrict_symm(double theta); | ||
142 | angle_restrict_symm :: Double -> Double | ||
143 | angle_restrict_symm = gsl_sf_angle_restrict_symm | ||
144 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm" gsl_sf_angle_restrict_symm :: Double -> Double | ||
145 | |||
146 | -- | wrapper for int gsl_sf_angle_restrict_pos_e(double* theta); | ||
147 | angle_restrict_pos_e :: Ptr Double -> Int | ||
148 | angle_restrict_pos_e = gsl_sf_angle_restrict_pos_e | ||
149 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos_e" gsl_sf_angle_restrict_pos_e :: Ptr Double -> Int | ||
150 | |||
151 | -- | wrapper for double gsl_sf_angle_restrict_pos(double theta); | ||
152 | angle_restrict_pos :: Double -> Double | ||
153 | angle_restrict_pos = gsl_sf_angle_restrict_pos | ||
154 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos" gsl_sf_angle_restrict_pos :: Double -> Double | ||
155 | |||
156 | -- | wrapper for int gsl_sf_angle_restrict_symm_err_e(double theta,gsl_sf_result* result); | ||
157 | angle_restrict_symm_err_e :: Double -> (Double,Double) | ||
158 | angle_restrict_symm_err_e theta = createSFR "angle_restrict_symm_err_e" $ gsl_sf_angle_restrict_symm_err_e theta | ||
159 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm_err_e" gsl_sf_angle_restrict_symm_err_e :: Double -> Ptr Double -> IO(Int) | ||
160 | |||
161 | -- | wrapper for int gsl_sf_angle_restrict_pos_err_e(double theta,gsl_sf_result* result); | ||
162 | angle_restrict_pos_err_e :: Double -> (Double,Double) | ||
163 | angle_restrict_pos_err_e theta = createSFR "angle_restrict_pos_err_e" $ gsl_sf_angle_restrict_pos_err_e theta | ||
164 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos_err_e" gsl_sf_angle_restrict_pos_err_e :: Double -> Ptr Double -> IO(Int) | ||
diff --git a/lib/GSL/Special/Zeta.hs b/lib/GSL/Special/Zeta.hs deleted file mode 100644 index 01cfdac..0000000 --- a/lib/GSL/Special/Zeta.hs +++ /dev/null | |||
@@ -1,133 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Zeta | ||
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.google.com/search?q=gsl_sf_zeta.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Zeta( | ||
18 | zeta_int_e | ||
19 | , zeta_int | ||
20 | , zeta_e | ||
21 | , zeta | ||
22 | , zetam1_e | ||
23 | , zetam1 | ||
24 | , zetam1_int_e | ||
25 | , zetam1_int | ||
26 | , hzeta_e | ||
27 | , hzeta | ||
28 | , eta_int_e | ||
29 | , eta_int | ||
30 | , eta_e | ||
31 | , eta | ||
32 | ) where | ||
33 | |||
34 | import Foreign(Ptr) | ||
35 | import GSL.Special.Internal | ||
36 | |||
37 | -- | wrapper for int gsl_sf_zeta_int_e(int n,gsl_sf_result* result); | ||
38 | -- | ||
39 | -- <http://www.google.com/search?q=gsl_sf_zeta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
40 | zeta_int_e :: Int -> (Double,Double) | ||
41 | zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n | ||
42 | foreign import ccall "zeta.h gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: Int -> Ptr Double -> IO(Int) | ||
43 | |||
44 | -- | wrapper for double gsl_sf_zeta_int(int n); | ||
45 | -- | ||
46 | -- <http://www.google.com/search?q=gsl_sf_zeta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
47 | zeta_int :: Int -> Double | ||
48 | zeta_int = gsl_sf_zeta_int | ||
49 | foreign import ccall "zeta.h gsl_sf_zeta_int" gsl_sf_zeta_int :: Int -> Double | ||
50 | |||
51 | -- | wrapper for int gsl_sf_zeta_e(double s,gsl_sf_result* result); | ||
52 | -- | ||
53 | -- <http://www.google.com/search?q=gsl_sf_zeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
54 | zeta_e :: Double -> (Double,Double) | ||
55 | zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s | ||
56 | foreign import ccall "zeta.h gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr Double -> IO(Int) | ||
57 | |||
58 | -- | wrapper for double gsl_sf_zeta(double s); | ||
59 | -- | ||
60 | -- <http://www.google.com/search?q=gsl_sf_zeta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
61 | zeta :: Double -> Double | ||
62 | zeta = gsl_sf_zeta | ||
63 | foreign import ccall "zeta.h gsl_sf_zeta" gsl_sf_zeta :: Double -> Double | ||
64 | |||
65 | -- | wrapper for int gsl_sf_zetam1_e(double s,gsl_sf_result* result); | ||
66 | -- | ||
67 | -- <http://www.google.com/search?q=gsl_sf_zetam1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
68 | zetam1_e :: Double -> (Double,Double) | ||
69 | zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s | ||
70 | foreign import ccall "zeta.h gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr Double -> IO(Int) | ||
71 | |||
72 | -- | wrapper for double gsl_sf_zetam1(double s); | ||
73 | -- | ||
74 | -- <http://www.google.com/search?q=gsl_sf_zetam1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
75 | zetam1 :: Double -> Double | ||
76 | zetam1 = gsl_sf_zetam1 | ||
77 | foreign import ccall "zeta.h gsl_sf_zetam1" gsl_sf_zetam1 :: Double -> Double | ||
78 | |||
79 | -- | wrapper for int gsl_sf_zetam1_int_e(int s,gsl_sf_result* result); | ||
80 | -- | ||
81 | -- <http://www.google.com/search?q=gsl_sf_zetam1_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
82 | zetam1_int_e :: Int -> (Double,Double) | ||
83 | zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s | ||
84 | foreign import ccall "zeta.h gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: Int -> Ptr Double -> IO(Int) | ||
85 | |||
86 | -- | wrapper for double gsl_sf_zetam1_int(int s); | ||
87 | -- | ||
88 | -- <http://www.google.com/search?q=gsl_sf_zetam1_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
89 | zetam1_int :: Int -> Double | ||
90 | zetam1_int = gsl_sf_zetam1_int | ||
91 | foreign import ccall "zeta.h gsl_sf_zetam1_int" gsl_sf_zetam1_int :: Int -> Double | ||
92 | |||
93 | -- | wrapper for int gsl_sf_hzeta_e(double s,double q,gsl_sf_result* result); | ||
94 | -- | ||
95 | -- <http://www.google.com/search?q=gsl_sf_hzeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
96 | hzeta_e :: Double -> Double -> (Double,Double) | ||
97 | hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q | ||
98 | foreign import ccall "zeta.h gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr Double -> IO(Int) | ||
99 | |||
100 | -- | wrapper for double gsl_sf_hzeta(double s,double q); | ||
101 | -- | ||
102 | -- <http://www.google.com/search?q=gsl_sf_hzeta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
103 | hzeta :: Double -> Double -> Double | ||
104 | hzeta = gsl_sf_hzeta | ||
105 | foreign import ccall "zeta.h gsl_sf_hzeta" gsl_sf_hzeta :: Double -> Double -> Double | ||
106 | |||
107 | -- | wrapper for int gsl_sf_eta_int_e(int n,gsl_sf_result* result); | ||
108 | -- | ||
109 | -- <http://www.google.com/search?q=gsl_sf_eta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
110 | eta_int_e :: Int -> (Double,Double) | ||
111 | eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n | ||
112 | foreign import ccall "zeta.h gsl_sf_eta_int_e" gsl_sf_eta_int_e :: Int -> Ptr Double -> IO(Int) | ||
113 | |||
114 | -- | wrapper for double gsl_sf_eta_int(int n); | ||
115 | -- | ||
116 | -- <http://www.google.com/search?q=gsl_sf_eta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
117 | eta_int :: Int -> Double | ||
118 | eta_int = gsl_sf_eta_int | ||
119 | foreign import ccall "zeta.h gsl_sf_eta_int" gsl_sf_eta_int :: Int -> Double | ||
120 | |||
121 | -- | wrapper for int gsl_sf_eta_e(double s,gsl_sf_result* result); | ||
122 | -- | ||
123 | -- <http://www.google.com/search?q=gsl_sf_eta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
124 | eta_e :: Double -> (Double,Double) | ||
125 | eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s | ||
126 | foreign import ccall "zeta.h gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr Double -> IO(Int) | ||
127 | |||
128 | -- | wrapper for double gsl_sf_eta(double s); | ||
129 | -- | ||
130 | -- <http://www.google.com/search?q=gsl_sf_eta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
131 | eta :: Double -> Double | ||
132 | eta = gsl_sf_eta | ||
133 | foreign import ccall "zeta.h gsl_sf_eta" gsl_sf_eta :: Double -> Double | ||
diff --git a/lib/GSL/Special/airy.h b/lib/GSL/Special/airy.h deleted file mode 100644 index e34e012..0000000 --- a/lib/GSL/Special/airy.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | int gsl_sf_airy_Ai_e(double x,int mode,double* result); | ||
2 | double gsl_sf_airy_Ai(double x,int mode); | ||
3 | int gsl_sf_airy_Bi_e(double x,int mode,double* result); | ||
4 | double gsl_sf_airy_Bi(double x,int mode); | ||
5 | int gsl_sf_airy_Ai_scaled_e(double x,int mode,double* result); | ||
6 | double gsl_sf_airy_Ai_scaled(double x,int mode); | ||
7 | int gsl_sf_airy_Bi_scaled_e(double x,int mode,double* result); | ||
8 | double gsl_sf_airy_Bi_scaled(double x,int mode); | ||
9 | int gsl_sf_airy_Ai_deriv_e(double x,int mode,double* result); | ||
10 | double gsl_sf_airy_Ai_deriv(double x,int mode); | ||
11 | int gsl_sf_airy_Bi_deriv_e(double x,int mode,double* result); | ||
12 | double gsl_sf_airy_Bi_deriv(double x,int mode); | ||
13 | int gsl_sf_airy_Ai_deriv_scaled_e(double x,int mode,double* result); | ||
14 | double gsl_sf_airy_Ai_deriv_scaled(double x,int mode); | ||
15 | int gsl_sf_airy_Bi_deriv_scaled_e(double x,int mode,double* result); | ||
16 | double gsl_sf_airy_Bi_deriv_scaled(double x,int mode); | ||
17 | int gsl_sf_airy_zero_Ai_e(int s,double* result); | ||
18 | double gsl_sf_airy_zero_Ai(int s); | ||
19 | int gsl_sf_airy_zero_Bi_e(int s,double* result); | ||
20 | double gsl_sf_airy_zero_Bi(int s); | ||
21 | int gsl_sf_airy_zero_Ai_deriv_e(int s,double* result); | ||
22 | double gsl_sf_airy_zero_Ai_deriv(int s); | ||
23 | int gsl_sf_airy_zero_Bi_deriv_e(int s,double* result); | ||
24 | double gsl_sf_airy_zero_Bi_deriv(int s); | ||
diff --git a/lib/GSL/Special/auto.hs b/lib/GSL/Special/auto.hs deleted file mode 100644 index 0ef7d0a..0000000 --- a/lib/GSL/Special/auto.hs +++ /dev/null | |||
@@ -1,233 +0,0 @@ | |||
1 | -- automatic generation of wrappers for simple GSL special functions | ||
2 | |||
3 | import Text.ParserCombinators.Parsec | ||
4 | import System | ||
5 | import Data.List(intersperse, isPrefixOf) | ||
6 | import Data.Char(toUpper,isUpper,toLower) | ||
7 | |||
8 | data Type = Normal Ident | Pointer Ident deriving (Eq, Show) | ||
9 | |||
10 | type Ident = String | ||
11 | |||
12 | data Header = Header Type Ident [(Type,Ident)] deriving Show | ||
13 | |||
14 | headers f = case parse parseHeaders "" f of | ||
15 | Right l -> l | ||
16 | Left s -> error (show s) | ||
17 | |||
18 | |||
19 | rep (c,r) [] = [] | ||
20 | rep (c,r) f@(x:xs) | ||
21 | | c `isPrefixOf` f = r ++ rep (c,r) (drop (length c) f) | ||
22 | | otherwise = x:(rep (c,r) xs) | ||
23 | |||
24 | |||
25 | fixlong [] = [] | ||
26 | fixlong "\\" = [] | ||
27 | fixlong ('\\':'\n':xs) = xs | ||
28 | fixlong (x:xs) = x : fixlong xs | ||
29 | |||
30 | |||
31 | safe (Header _ _ args) = all ok args | ||
32 | || all ok (init args) && kn (last args) | ||
33 | where ok ((Normal s),_) | s `elem` ["double","float","int","gsl_mode_t"] = True | ||
34 | ok _ = False | ||
35 | kn ((Pointer "gsl_sf_result"),_) = True | ||
36 | kn ((Pointer "gsl_sf_result_e10"),_) = True | ||
37 | kn _ = False | ||
38 | |||
39 | |||
40 | |||
41 | fixC s = rep ("gsl_mode_t","int") $ rep ("gsl_sf_result","double") $ rep ("gsl_sf_result_e10","double") $ s | ||
42 | |||
43 | main = do | ||
44 | args <- getArgs | ||
45 | let name = args!!0 | ||
46 | headerfile = | ||
47 | case args of | ||
48 | [n] -> "/usr/include/gsl/gsl_sf_"++n++".h" | ||
49 | [_,f] -> f | ||
50 | file <- readFile headerfile | ||
51 | |||
52 | putStrLn headerfile | ||
53 | --mapM_ print (headers $ fixlong file) | ||
54 | let parsed = (headers $ fixlong file) | ||
55 | writeFile (name ++".h") (fixC $ unlines $ map showC parsed) | ||
56 | |||
57 | --putStrLn "" | ||
58 | --mapM (\(Header _ n _) -> putStrLn (drop 7 n ++",")) parsed | ||
59 | --putStrLn "" | ||
60 | --mapM_ (putStrLn.showFull (name ++".h")) parsed | ||
61 | let exports = rep (")",") where") $ rep ("(\n","(\n ") $ rep (",\n",", ") $ unlines $ ["("]++intersperse "," (map (\(Header _ n _) -> hName n) (filter safe parsed))++[")"] | ||
62 | let defs = unlines $ map (showFull (name ++".h")) parsed | ||
63 | let imports = "\nimport Foreign(Ptr)\nimport GSL.Special.Internal\n" | ||
64 | let mod = modhead name ++ "module GSL.Special."++ upperFirst name++exports++imports++defs | ||
65 | writeFile (upperFirst name ++ ".hs") mod | ||
66 | |||
67 | |||
68 | google name = "<http://www.google.com/search?q=" | ||
69 | ++name | ||
70 | ++"&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>" | ||
71 | |||
72 | modhead name = replicate 60 '-' ++ "\n" | ||
73 | ++"{- |\n" | ||
74 | ++"Module : GSL.Special."++upperFirst name++"\n" | ||
75 | ++"Copyright : (c) Alberto Ruiz 2006\n" | ||
76 | ++"License : GPL-style\n" | ||
77 | ++"Maintainer : Alberto Ruiz (aruiz at um dot es)\n" | ||
78 | ++"Stability : provisional\n" | ||
79 | ++"Portability : uses ffi\n" | ||
80 | ++"\nWrappers for selected functions described at:\n\n" | ||
81 | ++ google ( "gsl_sf_"++name++".h") | ||
82 | ++"\n\n-}\n" | ||
83 | ++ replicate 60 '-' ++ "\n\n" | ||
84 | |||
85 | upperFirst (x:xs) = toUpper x : xs | ||
86 | |||
87 | comment = do | ||
88 | string "/*" | ||
89 | closecomment | ||
90 | spaces | ||
91 | return "comment" | ||
92 | |||
93 | closecomment = try (string "*/") | ||
94 | <|> (do anyChar | ||
95 | closecomment) | ||
96 | |||
97 | ident = do | ||
98 | spaces | ||
99 | id <- many1 (noneOf "()[]* \n\t,;") | ||
100 | spaces | ||
101 | return id | ||
102 | |||
103 | comment' = between (char '(') (char ')') (many $ noneOf ")") | ||
104 | |||
105 | |||
106 | define = do | ||
107 | string "#" | ||
108 | closedefine | ||
109 | spaces | ||
110 | return "define" | ||
111 | |||
112 | closedefine = try (string "\n") | ||
113 | <|> (do anyChar | ||
114 | closedefine) | ||
115 | |||
116 | marks = do | ||
117 | try (string "__BEGIN_DECLS" >> spaces >> return "begin") | ||
118 | <|> | ||
119 | try (string "__END_DECLS" >> spaces >> return "end") | ||
120 | |||
121 | |||
122 | |||
123 | irrelevant = | ||
124 | try comment | ||
125 | <|> | ||
126 | try define | ||
127 | <|> | ||
128 | marks | ||
129 | |||
130 | |||
131 | parseHeaders = many parseHeader | ||
132 | |||
133 | parseHeader = do | ||
134 | spaces | ||
135 | many irrelevant | ||
136 | spaces | ||
137 | (res,name) <- typ | ||
138 | spaces | ||
139 | args <- between (char '(') (char ')') (sepBy typ (char ',')) | ||
140 | spaces | ||
141 | char ';' | ||
142 | spaces | ||
143 | many irrelevant | ||
144 | return $ Header res name args | ||
145 | |||
146 | typ = try t1 <|> t2 | ||
147 | |||
148 | symbol s = spaces >> string s >> spaces | ||
149 | |||
150 | t1 = do | ||
151 | t <- try (symbol "const" >> symbol "unsigned" >> ident) -- aaagh | ||
152 | <|> | ||
153 | try (symbol "const" >> ident) | ||
154 | <|> | ||
155 | try (symbol "unsigned" >> ident) | ||
156 | <|> ident | ||
157 | n <- ident | ||
158 | return (Normal t,n) | ||
159 | |||
160 | t2 = do | ||
161 | t <- ident | ||
162 | spaces | ||
163 | char '*' | ||
164 | spaces | ||
165 | n <- ident | ||
166 | return (Pointer t,n) | ||
167 | |||
168 | pure (Header _ _ args) | fst (last args) == Pointer "gsl_sf_result" = False | ||
169 | | fst (last args) == Pointer "gsl_sf_result_e10" = False | ||
170 | | otherwise = True | ||
171 | |||
172 | showC (Header t n args) = showCt t ++ " " ++ n ++ "(" ++ (concat $ intersperse "," $ map showCa args) ++ ");" | ||
173 | |||
174 | showCt (Normal s) = s | ||
175 | showCt (Pointer s) = s ++ "*" | ||
176 | |||
177 | showCa (t, a) = showCt t ++" "++ a | ||
178 | |||
179 | showH hc h@(Header t n args) = "foreign import ccall \""++hc++" "++n++"\" "++n++" :: "++ (concat$intersperse" -> "$map showHa args) ++" -> " ++ t' | ||
180 | where t' | pure h = showHt t | ||
181 | | otherwise = "IO("++showHt t++")" | ||
182 | |||
183 | showHt (Normal (s:ss)) = toUpper s : ss | ||
184 | showHt (Pointer "gsl_sf_result") = "Ptr Double" | ||
185 | showHt (Pointer "gsl_sf_result_e10") = "Ptr ()" | ||
186 | showHt (Pointer (s:ss)) = "Ptr "++toUpper s : ss | ||
187 | |||
188 | showHa (t,a) = showHt t | ||
189 | |||
190 | showFull hc h@(Header t n args) = "\n-- | wrapper for "++showC h | ||
191 | ++"\n--\n-- "++google n ++"\n" | ||
192 | ++ boiler h ++"\n" | ||
193 | ++showH hc h | ||
194 | |||
195 | fixmd1 = rep ("Gsl_mode_t","Precision") | ||
196 | fixmd2 = rep ("mode"," (precCode mode)") | ||
197 | |||
198 | boiler h@(Header t n args) | fst (last args) == Pointer "gsl_sf_result" = boilerResult h | ||
199 | | fst (last args) == Pointer "gsl_sf_result_e10" = boilerResultE10 h | ||
200 | | any isMode args = boilerMode h | ||
201 | | otherwise = boilerBasic h | ||
202 | |||
203 | isMode (Normal "gsl_mode_t",_) = True | ||
204 | isMode _ = False | ||
205 | |||
206 | hName n = f $ drop 7 n | ||
207 | where f (s:ss) = toLower s : ss | ||
208 | |||
209 | |||
210 | boilerResult h@(Header t n args) = | ||
211 | hName n++" :: "++ (fixmd1 $ concat $ intersperse" -> "$ map showHa (init args)) ++" -> " ++ "(Double,Double)\n" ++ | ||
212 | hName n ++ " "++ initArgs args ++ | ||
213 | " = createSFR \""++ hName n ++"\" $ " ++ n ++ " "++ (fixmd2 $ initArgs args) | ||
214 | |||
215 | boilerResultE10 h@(Header t n args) = | ||
216 | hName n++" :: "++ (fixmd1 $ concat $ intersperse" -> "$ map showHa (init args)) ++" -> " ++ "(Double,Int,Double)\n" ++ | ||
217 | hName n ++ " "++ initArgs args ++ | ||
218 | " = createSFR_E10 \""++ hName n ++"\" $ " ++ n ++ " "++ (fixmd2 $ initArgs args) | ||
219 | |||
220 | boilerBasic h@(Header t n args) = | ||
221 | hName n++" :: "++ (fixmd1 $ concat $ intersperse" -> "$map showHa args) ++" -> " ++showHt t ++ "\n" ++ | ||
222 | hName n ++ " = " ++fixmd2 n | ||
223 | |||
224 | boilerMode h@(Header t n args) = | ||
225 | hName n++" :: "++ (fixmd1 $ concat $ intersperse" -> "$ map showHa args) ++" -> " ++ showHt t++"\n" ++ | ||
226 | hName n ++ " "++ allArgs args ++ | ||
227 | " = " ++ n ++ " "++ (fixmd2 $ allArgs args) | ||
228 | |||
229 | cVar (v:vs) | isUpper v = toLower v : v : vs | ||
230 | | otherwise = v:vs | ||
231 | |||
232 | allArgs args = unwords (map (cVar.snd) args) | ||
233 | initArgs args = unwords (map (cVar.snd) (init args)) \ No newline at end of file | ||
diff --git a/lib/GSL/Special/autoall.sh b/lib/GSL/Special/autoall.sh deleted file mode 100644 index cb45957..0000000 --- a/lib/GSL/Special/autoall.sh +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | #Airy.hs | ||
4 | # include Precision (..) in the export list | ||
5 | #Exp.hs | ||
6 | # remove extern inline definition, qualify name | ||
7 | #Coupling | ||
8 | # remove deprecated INCORRECT | ||
9 | #Trig.hs | ||
10 | # qualify names | ||
11 | #Legendre.hs | ||
12 | # remove extern inline | ||
13 | #Log.hs | ||
14 | # remove extern inline, qualify name | ||
15 | |||
16 | #runhaskell auto airy | ||
17 | runhaskell auto bessel | ||
18 | runhaskell auto clausen | ||
19 | runhaskell auto coulomb | ||
20 | #runhaskell auto coupling | ||
21 | runhaskell auto dawson | ||
22 | runhaskell auto debye | ||
23 | runhaskell auto dilog | ||
24 | runhaskell auto elementary | ||
25 | runhaskell auto ellint | ||
26 | runhaskell auto erf | ||
27 | #runhaskell auto exp | ||
28 | runhaskell auto expint | ||
29 | runhaskell auto fermi_dirac | ||
30 | runhaskell auto gamma | ||
31 | runhaskell auto gegenbauer | ||
32 | runhaskell auto hyperg | ||
33 | runhaskell auto laguerre | ||
34 | runhaskell auto lambert | ||
35 | #runhaskell auto legendre | ||
36 | #runhaskell auto log | ||
37 | runhaskell auto pow_int | ||
38 | runhaskell auto psi | ||
39 | runhaskell auto synchrotron | ||
40 | #runhaskell auto trig | ||
41 | runhaskell auto zeta \ No newline at end of file | ||
diff --git a/lib/GSL/Special/bessel.h b/lib/GSL/Special/bessel.h deleted file mode 100644 index 5a2445d..0000000 --- a/lib/GSL/Special/bessel.h +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
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_sequence_Jnu_e(double nu,int mode,size_t size,double* v); | ||
85 | int gsl_sf_bessel_Inu_scaled_e(double nu,double x,double* result); | ||
86 | double gsl_sf_bessel_Inu_scaled(double nu,double x); | ||
87 | int gsl_sf_bessel_Inu_e(double nu,double x,double* result); | ||
88 | double gsl_sf_bessel_Inu(double nu,double x); | ||
89 | int gsl_sf_bessel_Knu_scaled_e(double nu,double x,double* result); | ||
90 | double gsl_sf_bessel_Knu_scaled(double nu,double x); | ||
91 | int gsl_sf_bessel_Knu_e(double nu,double x,double* result); | ||
92 | double gsl_sf_bessel_Knu(double nu,double x); | ||
93 | int gsl_sf_bessel_lnKnu_e(double nu,double x,double* result); | ||
94 | double gsl_sf_bessel_lnKnu(double nu,double x); | ||
95 | int gsl_sf_bessel_zero_J0_e(int s,double* result); | ||
96 | double gsl_sf_bessel_zero_J0(int s); | ||
97 | int gsl_sf_bessel_zero_J1_e(int s,double* result); | ||
98 | double gsl_sf_bessel_zero_J1(int s); | ||
99 | int gsl_sf_bessel_zero_Jnu_e(double nu,int s,double* result); | ||
100 | double gsl_sf_bessel_zero_Jnu(double nu,int s); | ||
diff --git a/lib/GSL/Special/clausen.h b/lib/GSL/Special/clausen.h deleted file mode 100644 index 9f0225b..0000000 --- a/lib/GSL/Special/clausen.h +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | int gsl_sf_clausen_e(double x,double* result); | ||
2 | double gsl_sf_clausen(double x); | ||
diff --git a/lib/GSL/Special/coulomb.h b/lib/GSL/Special/coulomb.h deleted file mode 100644 index 2551081..0000000 --- a/lib/GSL/Special/coulomb.h +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | int gsl_sf_hydrogenicR_1_e(double Z,double r,double* result); | ||
2 | double gsl_sf_hydrogenicR_1(double Z,double r); | ||
3 | int gsl_sf_hydrogenicR_e(int n,int l,double Z,double r,double* result); | ||
4 | double gsl_sf_hydrogenicR(int n,int l,double Z,double r); | ||
5 | int gsl_sf_coulomb_wave_FG_e(double eta,double x,double lam_F,int k_lam_G,double* F,double* Fp,double* G,double* Gp,double* exp_F,double* exp_G); | ||
6 | int gsl_sf_coulomb_wave_F_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* F_exponent); | ||
7 | int gsl_sf_coulomb_wave_FG_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* gc_array,double* F_exponent,double* G_exponent); | ||
8 | int gsl_sf_coulomb_wave_FGp_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* fcp_array,double* gc_array,double* gcp_array,double* F_exponent,double* G_exponent); | ||
9 | int gsl_sf_coulomb_wave_sphF_array(double lam_min,int kmax,double eta,double x,double* fc_array,double* F_exponent); | ||
10 | int gsl_sf_coulomb_CL_e(double L,double eta,double* result); | ||
11 | int gsl_sf_coulomb_CL_array(double Lmin,int kmax,double eta,double* cl); | ||
diff --git a/lib/GSL/Special/coupling.h b/lib/GSL/Special/coupling.h deleted file mode 100644 index 17de964..0000000 --- a/lib/GSL/Special/coupling.h +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | int gsl_sf_coupling_3j_e(int two_ja,int two_jb,int two_jc,int two_ma,int two_mb,int two_mc,double* result); | ||
2 | double gsl_sf_coupling_3j(int two_ja,int two_jb,int two_jc,int two_ma,int two_mb,int two_mc); | ||
3 | int gsl_sf_coupling_6j_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,double* result); | ||
4 | double gsl_sf_coupling_6j(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf); | ||
5 | int gsl_sf_coupling_RacahW_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,double* result); | ||
6 | double gsl_sf_coupling_RacahW(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf); | ||
7 | int gsl_sf_coupling_9j_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,int two_jg,int two_jh,int two_ji,double* result); | ||
8 | double gsl_sf_coupling_9j(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,int two_jg,int two_jh,int two_ji); | ||
9 | int gsl_sf_coupling_6j_INCORRECT_e(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf,double* result); | ||
10 | double gsl_sf_coupling_6j_INCORRECT(int two_ja,int two_jb,int two_jc,int two_jd,int two_je,int two_jf); | ||
diff --git a/lib/GSL/Special/dawson.h b/lib/GSL/Special/dawson.h deleted file mode 100644 index 5f878b5..0000000 --- a/lib/GSL/Special/dawson.h +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | int gsl_sf_dawson_e(double x,double* result); | ||
2 | double gsl_sf_dawson(double x); | ||
diff --git a/lib/GSL/Special/debye.h b/lib/GSL/Special/debye.h deleted file mode 100644 index 2424b63..0000000 --- a/lib/GSL/Special/debye.h +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | int gsl_sf_debye_1_e(double x,double* result); | ||
2 | double gsl_sf_debye_1(double x); | ||
3 | int gsl_sf_debye_2_e(double x,double* result); | ||
4 | double gsl_sf_debye_2(double x); | ||
5 | int gsl_sf_debye_3_e(double x,double* result); | ||
6 | double gsl_sf_debye_3(double x); | ||
7 | int gsl_sf_debye_4_e(double x,double* result); | ||
8 | double gsl_sf_debye_4(double x); | ||
diff --git a/lib/GSL/Special/dilog.h b/lib/GSL/Special/dilog.h deleted file mode 100644 index ce1599e..0000000 --- a/lib/GSL/Special/dilog.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | int gsl_sf_dilog_e(double x,double* result); | ||
2 | double gsl_sf_dilog(double x); | ||
3 | int gsl_sf_complex_dilog_xy_e(double x,double y,double* result_re,double* result_im); | ||
4 | int gsl_sf_complex_dilog_e(double r,double theta,double* result_re,double* result_im); | ||
5 | int gsl_sf_complex_spence_xy_e(double x,double y,double* real_sp,double* imag_sp); | ||
diff --git a/lib/GSL/Special/elementary.h b/lib/GSL/Special/elementary.h deleted file mode 100644 index bf5adf8..0000000 --- a/lib/GSL/Special/elementary.h +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | int gsl_sf_multiply_e(double x,double y,double* result); | ||
2 | double gsl_sf_multiply(double x,double y); | ||
3 | int gsl_sf_multiply_err_e(double x,double dx,double y,double dy,double* result); | ||
diff --git a/lib/GSL/Special/ellint.h b/lib/GSL/Special/ellint.h deleted file mode 100644 index 5329c6c..0000000 --- a/lib/GSL/Special/ellint.h +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | int gsl_sf_ellint_Kcomp_e(double k,int mode,double* result); | ||
2 | double gsl_sf_ellint_Kcomp(double k,int mode); | ||
3 | int gsl_sf_ellint_Ecomp_e(double k,int mode,double* result); | ||
4 | double gsl_sf_ellint_Ecomp(double k,int mode); | ||
5 | int gsl_sf_ellint_F_e(double phi,double k,int mode,double* result); | ||
6 | double gsl_sf_ellint_F(double phi,double k,int mode); | ||
7 | int gsl_sf_ellint_E_e(double phi,double k,int mode,double* result); | ||
8 | double gsl_sf_ellint_E(double phi,double k,int mode); | ||
9 | int gsl_sf_ellint_P_e(double phi,double k,double n,int mode,double* result); | ||
10 | double gsl_sf_ellint_P(double phi,double k,double n,int mode); | ||
11 | int gsl_sf_ellint_D_e(double phi,double k,double n,int mode,double* result); | ||
12 | double gsl_sf_ellint_D(double phi,double k,double n,int mode); | ||
13 | int gsl_sf_ellint_RC_e(double x,double y,int mode,double* result); | ||
14 | double gsl_sf_ellint_RC(double x,double y,int mode); | ||
15 | int gsl_sf_ellint_RD_e(double x,double y,double z,int mode,double* result); | ||
16 | double gsl_sf_ellint_RD(double x,double y,double z,int mode); | ||
17 | int gsl_sf_ellint_RF_e(double x,double y,double z,int mode,double* result); | ||
18 | double gsl_sf_ellint_RF(double x,double y,double z,int mode); | ||
19 | int gsl_sf_ellint_RJ_e(double x,double y,double z,double p,int mode,double* result); | ||
20 | double gsl_sf_ellint_RJ(double x,double y,double z,double p,int mode); | ||
diff --git a/lib/GSL/Special/erf.h b/lib/GSL/Special/erf.h deleted file mode 100644 index 17369cf..0000000 --- a/lib/GSL/Special/erf.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | int gsl_sf_erfc_e(double x,double* result); | ||
2 | double gsl_sf_erfc(double x); | ||
3 | int gsl_sf_log_erfc_e(double x,double* result); | ||
4 | double gsl_sf_log_erfc(double x); | ||
5 | int gsl_sf_erf_e(double x,double* result); | ||
6 | double gsl_sf_erf(double x); | ||
7 | int gsl_sf_erf_Z_e(double x,double* result); | ||
8 | int gsl_sf_erf_Q_e(double x,double* result); | ||
9 | double gsl_sf_erf_Z(double x); | ||
10 | double gsl_sf_erf_Q(double x); | ||
11 | int gsl_sf_hazard_e(double x,double* result); | ||
12 | double gsl_sf_hazard(double x); | ||
diff --git a/lib/GSL/Special/exp.h b/lib/GSL/Special/exp.h deleted file mode 100644 index 20062f0..0000000 --- a/lib/GSL/Special/exp.h +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | int gsl_sf_exp_e(double x,double* result); | ||
2 | double gsl_sf_exp(double x); | ||
3 | int gsl_sf_exp_e10_e(double x,double* result); | ||
4 | int gsl_sf_exp_mult_e(double x,double y,double* result); | ||
5 | double gsl_sf_exp_mult(double x,double y); | ||
6 | int gsl_sf_exp_mult_e10_e(double x,double y,double* result); | ||
7 | int gsl_sf_expm1_e(double x,double* result); | ||
8 | double gsl_sf_expm1(double x); | ||
9 | int gsl_sf_exprel_e(double x,double* result); | ||
10 | double gsl_sf_exprel(double x); | ||
11 | int gsl_sf_exprel_2_e(double x,double* result); | ||
12 | double gsl_sf_exprel_2(double x); | ||
13 | int gsl_sf_exprel_n_e(int n,double x,double* result); | ||
14 | double gsl_sf_exprel_n(int n,double x); | ||
15 | int gsl_sf_exp_err_e(double x,double dx,double* result); | ||
16 | int gsl_sf_exp_err_e10_e(double x,double dx,double* result); | ||
17 | int gsl_sf_exp_mult_err_e(double x,double dx,double y,double dy,double* result); | ||
18 | int gsl_sf_exp_mult_err_e10_e(double x,double dx,double y,double dy,double* result); | ||
diff --git a/lib/GSL/Special/expint.h b/lib/GSL/Special/expint.h deleted file mode 100644 index 1dd469f..0000000 --- a/lib/GSL/Special/expint.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | int gsl_sf_expint_E1_e(double x,double* result); | ||
2 | double gsl_sf_expint_E1(double x); | ||
3 | int gsl_sf_expint_E2_e(double x,double* result); | ||
4 | double gsl_sf_expint_E2(double x); | ||
5 | int gsl_sf_expint_E1_scaled_e(double x,double* result); | ||
6 | double gsl_sf_expint_E1_scaled(double x); | ||
7 | int gsl_sf_expint_E2_scaled_e(double x,double* result); | ||
8 | double gsl_sf_expint_E2_scaled(double x); | ||
9 | int gsl_sf_expint_Ei_e(double x,double* result); | ||
10 | double gsl_sf_expint_Ei(double x); | ||
11 | int gsl_sf_expint_Ei_scaled_e(double x,double* result); | ||
12 | double gsl_sf_expint_Ei_scaled(double x); | ||
13 | int gsl_sf_Shi_e(double x,double* result); | ||
14 | double gsl_sf_Shi(double x); | ||
15 | int gsl_sf_Chi_e(double x,double* result); | ||
16 | double gsl_sf_Chi(double x); | ||
17 | int gsl_sf_expint_3_e(double x,double* result); | ||
18 | double gsl_sf_expint_3(double x); | ||
19 | int gsl_sf_Si_e(double x,double* result); | ||
20 | double gsl_sf_Si(double x); | ||
21 | int gsl_sf_Ci_e(double x,double* result); | ||
22 | double gsl_sf_Ci(double x); | ||
23 | int gsl_sf_atanint_e(double x,double* result); | ||
24 | double gsl_sf_atanint(double x); | ||
diff --git a/lib/GSL/Special/fermi_dirac.h b/lib/GSL/Special/fermi_dirac.h deleted file mode 100644 index 7a4c757..0000000 --- a/lib/GSL/Special/fermi_dirac.h +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | int gsl_sf_fermi_dirac_m1_e(double x,double* result); | ||
2 | double gsl_sf_fermi_dirac_m1(double x); | ||
3 | int gsl_sf_fermi_dirac_0_e(double x,double* result); | ||
4 | double gsl_sf_fermi_dirac_0(double x); | ||
5 | int gsl_sf_fermi_dirac_1_e(double x,double* result); | ||
6 | double gsl_sf_fermi_dirac_1(double x); | ||
7 | int gsl_sf_fermi_dirac_2_e(double x,double* result); | ||
8 | double gsl_sf_fermi_dirac_2(double x); | ||
9 | int gsl_sf_fermi_dirac_int_e(int j,double x,double* result); | ||
10 | double gsl_sf_fermi_dirac_int(int j,double x); | ||
11 | int gsl_sf_fermi_dirac_mhalf_e(double x,double* result); | ||
12 | double gsl_sf_fermi_dirac_mhalf(double x); | ||
13 | int gsl_sf_fermi_dirac_half_e(double x,double* result); | ||
14 | double gsl_sf_fermi_dirac_half(double x); | ||
15 | int gsl_sf_fermi_dirac_3half_e(double x,double* result); | ||
16 | double gsl_sf_fermi_dirac_3half(double x); | ||
17 | int gsl_sf_fermi_dirac_inc_0_e(double x,double b,double* result); | ||
18 | double gsl_sf_fermi_dirac_inc_0(double x,double b); | ||
diff --git a/lib/GSL/Special/gamma.h b/lib/GSL/Special/gamma.h deleted file mode 100644 index c5cc417..0000000 --- a/lib/GSL/Special/gamma.h +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | int gsl_sf_lngamma_e(double x,double* result); | ||
2 | double gsl_sf_lngamma(double x); | ||
3 | int gsl_sf_lngamma_sgn_e(double x,double* result_lg,double* sgn); | ||
4 | int gsl_sf_gamma_e(double x,double* result); | ||
5 | double gsl_sf_gamma(double x); | ||
6 | int gsl_sf_gammastar_e(double x,double* result); | ||
7 | double gsl_sf_gammastar(double x); | ||
8 | int gsl_sf_gammainv_e(double x,double* result); | ||
9 | double gsl_sf_gammainv(double x); | ||
10 | int gsl_sf_lngamma_complex_e(double zr,double zi,double* lnr,double* arg); | ||
11 | int gsl_sf_taylorcoeff_e(int n,double x,double* result); | ||
12 | double gsl_sf_taylorcoeff(int n,double x); | ||
13 | int gsl_sf_fact_e(int n,double* result); | ||
14 | double gsl_sf_fact(int n); | ||
15 | int gsl_sf_doublefact_e(int n,double* result); | ||
16 | double gsl_sf_doublefact(int n); | ||
17 | int gsl_sf_lnfact_e(int n,double* result); | ||
18 | double gsl_sf_lnfact(int n); | ||
19 | int gsl_sf_lndoublefact_e(int n,double* result); | ||
20 | double gsl_sf_lndoublefact(int n); | ||
21 | int gsl_sf_lnchoose_e(int n,int m,double* result); | ||
22 | double gsl_sf_lnchoose(int n,int m); | ||
23 | int gsl_sf_choose_e(int n,int m,double* result); | ||
24 | double gsl_sf_choose(int n,int m); | ||
25 | int gsl_sf_lnpoch_e(double a,double x,double* result); | ||
26 | double gsl_sf_lnpoch(double a,double x); | ||
27 | int gsl_sf_lnpoch_sgn_e(double a,double x,double* result,double* sgn); | ||
28 | int gsl_sf_poch_e(double a,double x,double* result); | ||
29 | double gsl_sf_poch(double a,double x); | ||
30 | int gsl_sf_pochrel_e(double a,double x,double* result); | ||
31 | double gsl_sf_pochrel(double a,double x); | ||
32 | int gsl_sf_gamma_inc_Q_e(double a,double x,double* result); | ||
33 | double gsl_sf_gamma_inc_Q(double a,double x); | ||
34 | int gsl_sf_gamma_inc_P_e(double a,double x,double* result); | ||
35 | double gsl_sf_gamma_inc_P(double a,double x); | ||
36 | int gsl_sf_gamma_inc_e(double a,double x,double* result); | ||
37 | double gsl_sf_gamma_inc(double a,double x); | ||
38 | int gsl_sf_lnbeta_e(double a,double b,double* result); | ||
39 | double gsl_sf_lnbeta(double a,double b); | ||
40 | int gsl_sf_beta_e(double a,double b,double* result); | ||
41 | double gsl_sf_beta(double a,double b); | ||
42 | int gsl_sf_beta_inc_e(double a,double b,double x,double* result); | ||
43 | double gsl_sf_beta_inc(double a,double b,double x); | ||
diff --git a/lib/GSL/Special/gegenbauer.h b/lib/GSL/Special/gegenbauer.h deleted file mode 100644 index 228cbd3..0000000 --- a/lib/GSL/Special/gegenbauer.h +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | int gsl_sf_gegenpoly_1_e(double lambda,double x,double* result); | ||
2 | int gsl_sf_gegenpoly_2_e(double lambda,double x,double* result); | ||
3 | int gsl_sf_gegenpoly_3_e(double lambda,double x,double* result); | ||
4 | double gsl_sf_gegenpoly_1(double lambda,double x); | ||
5 | double gsl_sf_gegenpoly_2(double lambda,double x); | ||
6 | double gsl_sf_gegenpoly_3(double lambda,double x); | ||
7 | int gsl_sf_gegenpoly_n_e(int n,double lambda,double x,double* result); | ||
8 | double gsl_sf_gegenpoly_n(int n,double lambda,double x); | ||
9 | int gsl_sf_gegenpoly_array(int nmax,double lambda,double x,double* result_array); | ||
diff --git a/lib/GSL/Special/gsl_sf_exp.h b/lib/GSL/Special/gsl_sf_exp.h deleted file mode 100644 index b1f0d89..0000000 --- a/lib/GSL/Special/gsl_sf_exp.h +++ /dev/null | |||
@@ -1,146 +0,0 @@ | |||
1 | /* specfunc/gsl_sf_exp.h | ||
2 | * | ||
3 | * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or (at | ||
8 | * your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, but | ||
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | ||
19 | |||
20 | /* Author: G. Jungman */ | ||
21 | |||
22 | #ifndef __GSL_SF_EXP_H__ | ||
23 | #define __GSL_SF_EXP_H__ | ||
24 | |||
25 | #include <gsl/gsl_sf_result.h> | ||
26 | #include <gsl/gsl_precision.h> | ||
27 | |||
28 | #undef __BEGIN_DECLS | ||
29 | #undef __END_DECLS | ||
30 | #ifdef __cplusplus | ||
31 | # define __BEGIN_DECLS extern "C" { | ||
32 | # define __END_DECLS } | ||
33 | #else | ||
34 | # define __BEGIN_DECLS /* empty */ | ||
35 | # define __END_DECLS /* empty */ | ||
36 | #endif | ||
37 | |||
38 | __BEGIN_DECLS | ||
39 | |||
40 | /* Provide an exp() function with GSL semantics, | ||
41 | * i.e. with proper error checking, etc. | ||
42 | * | ||
43 | * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW | ||
44 | */ | ||
45 | int gsl_sf_exp_e(const double x, gsl_sf_result * result); | ||
46 | double gsl_sf_exp(const double x); | ||
47 | |||
48 | |||
49 | /* Exp(x) | ||
50 | * | ||
51 | * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW | ||
52 | */ | ||
53 | int gsl_sf_exp_e10_e(const double x, gsl_sf_result_e10 * result); | ||
54 | |||
55 | |||
56 | /* Exponentiate and multiply by a given factor: y * Exp(x) | ||
57 | * | ||
58 | * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW | ||
59 | */ | ||
60 | int gsl_sf_exp_mult_e(const double x, const double y, gsl_sf_result * result); | ||
61 | double gsl_sf_exp_mult(const double x, const double y); | ||
62 | |||
63 | |||
64 | /* Exponentiate and multiply by a given factor: y * Exp(x) | ||
65 | * | ||
66 | * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW | ||
67 | */ | ||
68 | int gsl_sf_exp_mult_e10_e(const double x, const double y, gsl_sf_result_e10 * result); | ||
69 | |||
70 | |||
71 | /* exp(x)-1 | ||
72 | * | ||
73 | * exceptions: GSL_EOVRFLW | ||
74 | */ | ||
75 | int gsl_sf_expm1_e(const double x, gsl_sf_result * result); | ||
76 | double gsl_sf_expm1(const double x); | ||
77 | |||
78 | |||
79 | /* (exp(x)-1)/x = 1 + x/2 + x^2/(2*3) + x^3/(2*3*4) + ... | ||
80 | * | ||
81 | * exceptions: GSL_EOVRFLW | ||
82 | */ | ||
83 | int gsl_sf_exprel_e(const double x, gsl_sf_result * result); | ||
84 | double gsl_sf_exprel(const double x); | ||
85 | |||
86 | |||
87 | /* 2(exp(x)-1-x)/x^2 = 1 + x/3 + x^2/(3*4) + x^3/(3*4*5) + ... | ||
88 | * | ||
89 | * exceptions: GSL_EOVRFLW | ||
90 | */ | ||
91 | int gsl_sf_exprel_2_e(double x, gsl_sf_result * result); | ||
92 | double gsl_sf_exprel_2(const double x); | ||
93 | |||
94 | |||
95 | /* Similarly for the N-th generalization of | ||
96 | * the above. The so-called N-relative exponential | ||
97 | * | ||
98 | * exprel_N(x) = N!/x^N (exp(x) - Sum[x^k/k!, {k,0,N-1}]) | ||
99 | * = 1 + x/(N+1) + x^2/((N+1)(N+2)) + ... | ||
100 | * = 1F1(1,1+N,x) | ||
101 | */ | ||
102 | int gsl_sf_exprel_n_e(const int n, const double x, gsl_sf_result * result); | ||
103 | double gsl_sf_exprel_n(const int n, const double x); | ||
104 | |||
105 | |||
106 | /* Exponentiate a quantity with an associated error. | ||
107 | */ | ||
108 | int gsl_sf_exp_err_e(const double x, const double dx, gsl_sf_result * result); | ||
109 | |||
110 | /* Exponentiate a quantity with an associated error. | ||
111 | */ | ||
112 | int gsl_sf_exp_err_e10_e(const double x, const double dx, gsl_sf_result_e10 * result); | ||
113 | |||
114 | |||
115 | /* Exponentiate and multiply by a given factor: y * Exp(x), | ||
116 | * for quantities with associated errors. | ||
117 | * | ||
118 | * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW | ||
119 | */ | ||
120 | int gsl_sf_exp_mult_err_e(const double x, const double dx, const double y, const double dy, gsl_sf_result * result); | ||
121 | |||
122 | |||
123 | /* Exponentiate and multiply by a given factor: y * Exp(x), | ||
124 | * for quantities with associated errors. | ||
125 | * | ||
126 | * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW | ||
127 | */ | ||
128 | int gsl_sf_exp_mult_err_e10_e(const double x, const double dx, const double y, const double dy, gsl_sf_result_e10 * result); | ||
129 | |||
130 | __END_DECLS | ||
131 | |||
132 | |||
133 | #ifdef HAVE_INLINE | ||
134 | #include <gsl/gsl_math.h> | ||
135 | #include <gsl/gsl_errno.h> | ||
136 | |||
137 | __BEGIN_DECLS | ||
138 | |||
139 | |||
140 | |||
141 | __END_DECLS | ||
142 | |||
143 | #endif /* HAVE_INLINE */ | ||
144 | |||
145 | |||
146 | #endif /* __GSL_SF_EXP_H__ */ | ||
diff --git a/lib/GSL/Special/gsl_sf_log.h b/lib/GSL/Special/gsl_sf_log.h deleted file mode 100644 index 5225d05..0000000 --- a/lib/GSL/Special/gsl_sf_log.h +++ /dev/null | |||
@@ -1,90 +0,0 @@ | |||
1 | /* specfunc/gsl_sf_log.h | ||
2 | * | ||
3 | * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2004 Gerard Jungman | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or (at | ||
8 | * your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, but | ||
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | ||
19 | |||
20 | /* Author: G. Jungman */ | ||
21 | |||
22 | #ifndef __GSL_SF_LOG_H__ | ||
23 | #define __GSL_SF_LOG_H__ | ||
24 | |||
25 | #include <gsl/gsl_sf_result.h> | ||
26 | |||
27 | #undef __BEGIN_DECLS | ||
28 | #undef __END_DECLS | ||
29 | #ifdef __cplusplus | ||
30 | # define __BEGIN_DECLS extern "C" { | ||
31 | # define __END_DECLS } | ||
32 | #else | ||
33 | # define __BEGIN_DECLS /* empty */ | ||
34 | # define __END_DECLS /* empty */ | ||
35 | #endif | ||
36 | |||
37 | __BEGIN_DECLS | ||
38 | |||
39 | |||
40 | /* Provide a logarithm function with GSL semantics. | ||
41 | * | ||
42 | * exceptions: GSL_EDOM | ||
43 | */ | ||
44 | int gsl_sf_log_e(const double x, gsl_sf_result * result); | ||
45 | double gsl_sf_log(const double x); | ||
46 | |||
47 | |||
48 | /* Log(|x|) | ||
49 | * | ||
50 | * exceptions: GSL_EDOM | ||
51 | */ | ||
52 | int gsl_sf_log_abs_e(const double x, gsl_sf_result * result); | ||
53 | double gsl_sf_log_abs(const double x); | ||
54 | |||
55 | |||
56 | /* Complex Logarithm | ||
57 | * exp(lnr + I theta) = zr + I zi | ||
58 | * Returns argument in [-pi,pi]. | ||
59 | * | ||
60 | * exceptions: GSL_EDOM | ||
61 | */ | ||
62 | int gsl_sf_complex_log_e(const double zr, const double zi, gsl_sf_result * lnr, gsl_sf_result * theta); | ||
63 | |||
64 | |||
65 | /* Log(1 + x) | ||
66 | * | ||
67 | * exceptions: GSL_EDOM | ||
68 | */ | ||
69 | int gsl_sf_log_1plusx_e(const double x, gsl_sf_result * result); | ||
70 | double gsl_sf_log_1plusx(const double x); | ||
71 | |||
72 | |||
73 | /* Log(1 + x) - x | ||
74 | * | ||
75 | * exceptions: GSL_EDOM | ||
76 | */ | ||
77 | int gsl_sf_log_1plusx_mx_e(const double x, gsl_sf_result * result); | ||
78 | double gsl_sf_log_1plusx_mx(const double x); | ||
79 | |||
80 | |||
81 | #ifdef HAVE_INLINE | ||
82 | #include <gsl/gsl_math.h> | ||
83 | #include <gsl/gsl_errno.h> | ||
84 | |||
85 | #endif /* HAVE_INLINE */ | ||
86 | |||
87 | |||
88 | __END_DECLS | ||
89 | |||
90 | #endif /* __GSL_SF_LOG_H__ */ | ||
diff --git a/lib/GSL/Special/hyperg.h b/lib/GSL/Special/hyperg.h deleted file mode 100644 index aa59106..0000000 --- a/lib/GSL/Special/hyperg.h +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | int gsl_sf_hyperg_0F1_e(double c,double x,double* result); | ||
2 | double gsl_sf_hyperg_0F1(double c,double x); | ||
3 | int gsl_sf_hyperg_1F1_int_e(int m,int n,double x,double* result); | ||
4 | double gsl_sf_hyperg_1F1_int(int m,int n,double x); | ||
5 | int gsl_sf_hyperg_1F1_e(double a,double b,double x,double* result); | ||
6 | double gsl_sf_hyperg_1F1(double a,double b,double x); | ||
7 | int gsl_sf_hyperg_U_int_e(int m,int n,double x,double* result); | ||
8 | double gsl_sf_hyperg_U_int(int m,int n,double x); | ||
9 | int gsl_sf_hyperg_U_int_e10_e(int m,int n,double x,double* result); | ||
10 | int gsl_sf_hyperg_U_e(double a,double b,double x,double* result); | ||
11 | double gsl_sf_hyperg_U(double a,double b,double x); | ||
12 | int gsl_sf_hyperg_U_e10_e(double a,double b,double x,double* result); | ||
13 | int gsl_sf_hyperg_2F1_e(double a,double b,double c,double x,double* result); | ||
14 | double gsl_sf_hyperg_2F1(double a,double b,double c,double x); | ||
15 | int gsl_sf_hyperg_2F1_conj_e(double aR,double aI,double c,double x,double* result); | ||
16 | double gsl_sf_hyperg_2F1_conj(double aR,double aI,double c,double x); | ||
17 | int gsl_sf_hyperg_2F1_renorm_e(double a,double b,double c,double x,double* result); | ||
18 | double gsl_sf_hyperg_2F1_renorm(double a,double b,double c,double x); | ||
19 | int gsl_sf_hyperg_2F1_conj_renorm_e(double aR,double aI,double c,double x,double* result); | ||
20 | double gsl_sf_hyperg_2F1_conj_renorm(double aR,double aI,double c,double x); | ||
21 | int gsl_sf_hyperg_2F0_e(double a,double b,double x,double* result); | ||
22 | double gsl_sf_hyperg_2F0(double a,double b,double x); | ||
diff --git a/lib/GSL/Special/laguerre.h b/lib/GSL/Special/laguerre.h deleted file mode 100644 index 6275a05..0000000 --- a/lib/GSL/Special/laguerre.h +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | int gsl_sf_laguerre_1_e(double a,double x,double* result); | ||
2 | int gsl_sf_laguerre_2_e(double a,double x,double* result); | ||
3 | int gsl_sf_laguerre_3_e(double a,double x,double* result); | ||
4 | double gsl_sf_laguerre_1(double a,double x); | ||
5 | double gsl_sf_laguerre_2(double a,double x); | ||
6 | double gsl_sf_laguerre_3(double a,double x); | ||
7 | int gsl_sf_laguerre_n_e(int n,double a,double x,double* result); | ||
8 | double gsl_sf_laguerre_n(int n,double a,double x); | ||
diff --git a/lib/GSL/Special/lambert.h b/lib/GSL/Special/lambert.h deleted file mode 100644 index df90d11..0000000 --- a/lib/GSL/Special/lambert.h +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | int gsl_sf_lambert_W0_e(double x,double* result); | ||
2 | double gsl_sf_lambert_W0(double x); | ||
3 | int gsl_sf_lambert_Wm1_e(double x,double* result); | ||
4 | double gsl_sf_lambert_Wm1(double x); | ||
diff --git a/lib/GSL/Special/legendre.h b/lib/GSL/Special/legendre.h deleted file mode 100644 index aebe84f..0000000 --- a/lib/GSL/Special/legendre.h +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | int gsl_sf_legendre_Pl_e(int l,double x,double* result); | ||
2 | double gsl_sf_legendre_Pl(int l,double x); | ||
3 | int gsl_sf_legendre_Pl_array(int lmax,double x,double* result_array); | ||
4 | int gsl_sf_legendre_Pl_deriv_array(int lmax,double x,double* result_array,double* result_deriv_array); | ||
5 | int gsl_sf_legendre_P1_e(double x,double* result); | ||
6 | int gsl_sf_legendre_P2_e(double x,double* result); | ||
7 | int gsl_sf_legendre_P3_e(double x,double* result); | ||
8 | double gsl_sf_legendre_P1(double x); | ||
9 | double gsl_sf_legendre_P2(double x); | ||
10 | double gsl_sf_legendre_P3(double x); | ||
11 | int gsl_sf_legendre_Q0_e(double x,double* result); | ||
12 | double gsl_sf_legendre_Q0(double x); | ||
13 | int gsl_sf_legendre_Q1_e(double x,double* result); | ||
14 | double gsl_sf_legendre_Q1(double x); | ||
15 | int gsl_sf_legendre_Ql_e(int l,double x,double* result); | ||
16 | double gsl_sf_legendre_Ql(int l,double x); | ||
17 | int gsl_sf_legendre_Plm_e(int l,int m,double x,double* result); | ||
18 | double gsl_sf_legendre_Plm(int l,int m,double x); | ||
19 | int gsl_sf_legendre_Plm_array(int lmax,int m,double x,double* result_array); | ||
20 | int gsl_sf_legendre_Plm_deriv_array(int lmax,int m,double x,double* result_array,double* result_deriv_array); | ||
21 | int gsl_sf_legendre_sphPlm_e(int l,int m,double x,double* result); | ||
22 | double gsl_sf_legendre_sphPlm(int l,int m,double x); | ||
23 | int gsl_sf_legendre_sphPlm_array(int lmax,int m,double x,double* result_array); | ||
24 | int gsl_sf_legendre_sphPlm_deriv_array(int lmax,int m,double x,double* result_array,double* result_deriv_array); | ||
25 | int gsl_sf_legendre_array_size(int lmax,int m); | ||
26 | int gsl_sf_conicalP_half_e(double lambda,double x,double* result); | ||
27 | double gsl_sf_conicalP_half(double lambda,double x); | ||
28 | int gsl_sf_conicalP_mhalf_e(double lambda,double x,double* result); | ||
29 | double gsl_sf_conicalP_mhalf(double lambda,double x); | ||
30 | int gsl_sf_conicalP_0_e(double lambda,double x,double* result); | ||
31 | double gsl_sf_conicalP_0(double lambda,double x); | ||
32 | int gsl_sf_conicalP_1_e(double lambda,double x,double* result); | ||
33 | double gsl_sf_conicalP_1(double lambda,double x); | ||
34 | int gsl_sf_conicalP_sph_reg_e(int l,double lambda,double x,double* result); | ||
35 | double gsl_sf_conicalP_sph_reg(int l,double lambda,double x); | ||
36 | int gsl_sf_conicalP_cyl_reg_e(int m,double lambda,double x,double* result); | ||
37 | double gsl_sf_conicalP_cyl_reg(int m,double lambda,double x); | ||
38 | int gsl_sf_legendre_H3d_0_e(double lambda,double eta,double* result); | ||
39 | double gsl_sf_legendre_H3d_0(double lambda,double eta); | ||
40 | int gsl_sf_legendre_H3d_1_e(double lambda,double eta,double* result); | ||
41 | double gsl_sf_legendre_H3d_1(double lambda,double eta); | ||
42 | int gsl_sf_legendre_H3d_e(int l,double lambda,double eta,double* result); | ||
43 | double gsl_sf_legendre_H3d(int l,double lambda,double eta); | ||
44 | int gsl_sf_legendre_H3d_array(int lmax,double lambda,double eta,double* result_array); | ||
diff --git a/lib/GSL/Special/log.h b/lib/GSL/Special/log.h deleted file mode 100644 index 5713845..0000000 --- a/lib/GSL/Special/log.h +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | int gsl_sf_log_e(double x,double* result); | ||
2 | double gsl_sf_log(double x); | ||
3 | int gsl_sf_log_abs_e(double x,double* result); | ||
4 | double gsl_sf_log_abs(double x); | ||
5 | int gsl_sf_complex_log_e(double zr,double zi,double* lnr,double* theta); | ||
6 | int gsl_sf_log_1plusx_e(double x,double* result); | ||
7 | double gsl_sf_log_1plusx(double x); | ||
8 | int gsl_sf_log_1plusx_mx_e(double x,double* result); | ||
9 | double gsl_sf_log_1plusx_mx(double x); | ||
diff --git a/lib/GSL/Special/pow_int.h b/lib/GSL/Special/pow_int.h deleted file mode 100644 index aba8bc9..0000000 --- a/lib/GSL/Special/pow_int.h +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | int gsl_sf_pow_int_e(double x,int n,double* result); | ||
2 | double gsl_sf_pow_int(double x,int n); | ||
diff --git a/lib/GSL/Special/psi.h b/lib/GSL/Special/psi.h deleted file mode 100644 index 589eb34..0000000 --- a/lib/GSL/Special/psi.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | int gsl_sf_psi_int_e(int n,double* result); | ||
2 | double gsl_sf_psi_int(int n); | ||
3 | int gsl_sf_psi_e(double x,double* result); | ||
4 | double gsl_sf_psi(double x); | ||
5 | int gsl_sf_psi_1piy_e(double y,double* result); | ||
6 | double gsl_sf_psi_1piy(double y); | ||
7 | int gsl_sf_psi_1_int_e(int n,double* result); | ||
8 | double gsl_sf_psi_1_int(int n); | ||
9 | int gsl_sf_psi_1_e(double x,double* result); | ||
10 | double gsl_sf_psi_1(double x); | ||
11 | int gsl_sf_psi_n_e(int n,double x,double* result); | ||
12 | double gsl_sf_psi_n(int n,double x); | ||
diff --git a/lib/GSL/Special/synchrotron.h b/lib/GSL/Special/synchrotron.h deleted file mode 100644 index 786401c..0000000 --- a/lib/GSL/Special/synchrotron.h +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | int gsl_sf_synchrotron_1_e(double x,double* result); | ||
2 | double gsl_sf_synchrotron_1(double x); | ||
3 | int gsl_sf_synchrotron_2_e(double x,double* result); | ||
4 | double gsl_sf_synchrotron_2(double x); | ||
diff --git a/lib/GSL/Special/trig.h b/lib/GSL/Special/trig.h deleted file mode 100644 index 50677f2..0000000 --- a/lib/GSL/Special/trig.h +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | int gsl_sf_sin_e(double x,double* result); | ||
2 | double gsl_sf_sin(double x); | ||
3 | int gsl_sf_cos_e(double x,double* result); | ||
4 | double gsl_sf_cos(double x); | ||
5 | int gsl_sf_hypot_e(double x,double y,double* result); | ||
6 | double gsl_sf_hypot(double x,double y); | ||
7 | int gsl_sf_complex_sin_e(double zr,double zi,double* szr,double* szi); | ||
8 | int gsl_sf_complex_cos_e(double zr,double zi,double* czr,double* czi); | ||
9 | int gsl_sf_complex_logsin_e(double zr,double zi,double* lszr,double* lszi); | ||
10 | int gsl_sf_sinc_e(double x,double* result); | ||
11 | double gsl_sf_sinc(double x); | ||
12 | int gsl_sf_lnsinh_e(double x,double* result); | ||
13 | double gsl_sf_lnsinh(double x); | ||
14 | int gsl_sf_lncosh_e(double x,double* result); | ||
15 | double gsl_sf_lncosh(double x); | ||
16 | int gsl_sf_polar_to_rect(double r,double theta,double* x,double* y); | ||
17 | int gsl_sf_rect_to_polar(double x,double y,double* r,double* theta); | ||
18 | int gsl_sf_sin_err_e(double x,double dx,double* result); | ||
19 | int gsl_sf_cos_err_e(double x,double dx,double* result); | ||
20 | int gsl_sf_angle_restrict_symm_e(double* theta); | ||
21 | double gsl_sf_angle_restrict_symm(double theta); | ||
22 | int gsl_sf_angle_restrict_pos_e(double* theta); | ||
23 | double gsl_sf_angle_restrict_pos(double theta); | ||
24 | int gsl_sf_angle_restrict_symm_err_e(double theta,double* result); | ||
25 | int gsl_sf_angle_restrict_pos_err_e(double theta,double* result); | ||
diff --git a/lib/GSL/Special/zeta.h b/lib/GSL/Special/zeta.h deleted file mode 100644 index b961ece..0000000 --- a/lib/GSL/Special/zeta.h +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | int gsl_sf_zeta_int_e(int n,double* result); | ||
2 | double gsl_sf_zeta_int(int n); | ||
3 | int gsl_sf_zeta_e(double s,double* result); | ||
4 | double gsl_sf_zeta(double s); | ||
5 | int gsl_sf_zetam1_e(double s,double* result); | ||
6 | double gsl_sf_zetam1(double s); | ||
7 | int gsl_sf_zetam1_int_e(int s,double* result); | ||
8 | double gsl_sf_zetam1_int(int s); | ||
9 | int gsl_sf_hzeta_e(double s,double q,double* result); | ||
10 | double gsl_sf_hzeta(double s,double q); | ||
11 | int gsl_sf_eta_int_e(int n,double* result); | ||
12 | double gsl_sf_eta_int(int n); | ||
13 | int gsl_sf_eta_e(double s,double* result); | ||
14 | double gsl_sf_eta(double s); | ||