diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Expint.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Expint.hs | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/lib/Numeric/GSL/Special/Expint.hs b/lib/Numeric/GSL/Special/Expint.hs index 9882d09..fd92216 100644 --- a/lib/Numeric/GSL/Special/Expint.hs +++ b/lib/Numeric/GSL/Special/Expint.hs | |||
@@ -42,6 +42,7 @@ module Numeric.GSL.Special.Expint( | |||
42 | ) where | 42 | ) where |
43 | 43 | ||
44 | import Foreign(Ptr) | 44 | import Foreign(Ptr) |
45 | import Foreign.C.Types(CInt) | ||
45 | import Numeric.GSL.Special.Internal | 46 | import Numeric.GSL.Special.Internal |
46 | 47 | ||
47 | -- | wrapper for int gsl_sf_expint_E1_e(double x,gsl_sf_result* result); | 48 | -- | wrapper for int gsl_sf_expint_E1_e(double x,gsl_sf_result* result); |
@@ -49,7 +50,7 @@ import Numeric.GSL.Special.Internal | |||
49 | -- <http://www.google.com/search?q=gsl_sf_expint_E1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 50 | -- <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 :: Double -> (Double,Double) |
51 | expint_E1_e x = createSFR "expint_E1_e" $ gsl_sf_expint_E1_e x | 52 | 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 | foreign import ccall "expint.h gsl_sf_expint_E1_e" gsl_sf_expint_E1_e :: Double -> Ptr () -> IO CInt |
53 | 54 | ||
54 | -- | wrapper for double gsl_sf_expint_E1(double x); | 55 | -- | wrapper for double gsl_sf_expint_E1(double x); |
55 | -- | 56 | -- |
@@ -63,7 +64,7 @@ foreign import ccall "expint.h gsl_sf_expint_E1" gsl_sf_expint_E1 :: Double -> D | |||
63 | -- <http://www.google.com/search?q=gsl_sf_expint_E2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 64 | -- <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 :: Double -> (Double,Double) |
65 | expint_E2_e x = createSFR "expint_E2_e" $ gsl_sf_expint_E2_e x | 66 | 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 | foreign import ccall "expint.h gsl_sf_expint_E2_e" gsl_sf_expint_E2_e :: Double -> Ptr () -> IO CInt |
67 | 68 | ||
68 | -- | wrapper for double gsl_sf_expint_E2(double x); | 69 | -- | wrapper for double gsl_sf_expint_E2(double x); |
69 | -- | 70 | -- |
@@ -77,7 +78,7 @@ foreign import ccall "expint.h gsl_sf_expint_E2" gsl_sf_expint_E2 :: Double -> D | |||
77 | -- <http://www.google.com/search?q=gsl_sf_expint_E1_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 78 | -- <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 :: Double -> (Double,Double) |
79 | expint_E1_scaled_e x = createSFR "expint_E1_scaled_e" $ gsl_sf_expint_E1_scaled_e x | 80 | 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 | foreign import ccall "expint.h gsl_sf_expint_E1_scaled_e" gsl_sf_expint_E1_scaled_e :: Double -> Ptr () -> IO CInt |
81 | 82 | ||
82 | -- | wrapper for double gsl_sf_expint_E1_scaled(double x); | 83 | -- | wrapper for double gsl_sf_expint_E1_scaled(double x); |
83 | -- | 84 | -- |
@@ -91,7 +92,7 @@ foreign import ccall "expint.h gsl_sf_expint_E1_scaled" gsl_sf_expint_E1_scaled | |||
91 | -- <http://www.google.com/search?q=gsl_sf_expint_E2_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 92 | -- <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 :: Double -> (Double,Double) |
93 | expint_E2_scaled_e x = createSFR "expint_E2_scaled_e" $ gsl_sf_expint_E2_scaled_e x | 94 | 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 | foreign import ccall "expint.h gsl_sf_expint_E2_scaled_e" gsl_sf_expint_E2_scaled_e :: Double -> Ptr () -> IO CInt |
95 | 96 | ||
96 | -- | wrapper for double gsl_sf_expint_E2_scaled(double x); | 97 | -- | wrapper for double gsl_sf_expint_E2_scaled(double x); |
97 | -- | 98 | -- |
@@ -105,7 +106,7 @@ foreign import ccall "expint.h gsl_sf_expint_E2_scaled" gsl_sf_expint_E2_scaled | |||
105 | -- <http://www.google.com/search?q=gsl_sf_expint_Ei_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 106 | -- <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 :: Double -> (Double,Double) |
107 | expint_Ei_e x = createSFR "expint_Ei_e" $ gsl_sf_expint_Ei_e x | 108 | 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 | foreign import ccall "expint.h gsl_sf_expint_Ei_e" gsl_sf_expint_Ei_e :: Double -> Ptr () -> IO CInt |
109 | 110 | ||
110 | -- | wrapper for double gsl_sf_expint_Ei(double x); | 111 | -- | wrapper for double gsl_sf_expint_Ei(double x); |
111 | -- | 112 | -- |
@@ -119,7 +120,7 @@ foreign import ccall "expint.h gsl_sf_expint_Ei" gsl_sf_expint_Ei :: Double -> D | |||
119 | -- <http://www.google.com/search?q=gsl_sf_expint_Ei_scaled_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 120 | -- <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 :: Double -> (Double,Double) |
121 | expint_Ei_scaled_e x = createSFR "expint_Ei_scaled_e" $ gsl_sf_expint_Ei_scaled_e x | 122 | 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 | foreign import ccall "expint.h gsl_sf_expint_Ei_scaled_e" gsl_sf_expint_Ei_scaled_e :: Double -> Ptr () -> IO CInt |
123 | 124 | ||
124 | -- | wrapper for double gsl_sf_expint_Ei_scaled(double x); | 125 | -- | wrapper for double gsl_sf_expint_Ei_scaled(double x); |
125 | -- | 126 | -- |
@@ -133,7 +134,7 @@ foreign import ccall "expint.h gsl_sf_expint_Ei_scaled" gsl_sf_expint_Ei_scaled | |||
133 | -- <http://www.google.com/search?q=gsl_sf_Shi_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 134 | -- <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 :: Double -> (Double,Double) |
135 | shi_e x = createSFR "shi_e" $ gsl_sf_Shi_e x | 136 | 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 | foreign import ccall "expint.h gsl_sf_Shi_e" gsl_sf_Shi_e :: Double -> Ptr () -> IO CInt |
137 | 138 | ||
138 | -- | wrapper for double gsl_sf_Shi(double x); | 139 | -- | wrapper for double gsl_sf_Shi(double x); |
139 | -- | 140 | -- |
@@ -147,7 +148,7 @@ foreign import ccall "expint.h gsl_sf_Shi" gsl_sf_Shi :: Double -> Double | |||
147 | -- <http://www.google.com/search?q=gsl_sf_Chi_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 148 | -- <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 :: Double -> (Double,Double) |
149 | chi_e x = createSFR "chi_e" $ gsl_sf_Chi_e x | 150 | 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 | foreign import ccall "expint.h gsl_sf_Chi_e" gsl_sf_Chi_e :: Double -> Ptr () -> IO CInt |
151 | 152 | ||
152 | -- | wrapper for double gsl_sf_Chi(double x); | 153 | -- | wrapper for double gsl_sf_Chi(double x); |
153 | -- | 154 | -- |
@@ -161,7 +162,7 @@ foreign import ccall "expint.h gsl_sf_Chi" gsl_sf_Chi :: Double -> Double | |||
161 | -- <http://www.google.com/search?q=gsl_sf_expint_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 162 | -- <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 :: Double -> (Double,Double) |
163 | expint_3_e x = createSFR "expint_3_e" $ gsl_sf_expint_3_e x | 164 | 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 | foreign import ccall "expint.h gsl_sf_expint_3_e" gsl_sf_expint_3_e :: Double -> Ptr () -> IO CInt |
165 | 166 | ||
166 | -- | wrapper for double gsl_sf_expint_3(double x); | 167 | -- | wrapper for double gsl_sf_expint_3(double x); |
167 | -- | 168 | -- |
@@ -175,7 +176,7 @@ foreign import ccall "expint.h gsl_sf_expint_3" gsl_sf_expint_3 :: Double -> Dou | |||
175 | -- <http://www.google.com/search?q=gsl_sf_Si_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 176 | -- <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 :: Double -> (Double,Double) |
177 | si_e x = createSFR "si_e" $ gsl_sf_Si_e x | 178 | 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 | foreign import ccall "expint.h gsl_sf_Si_e" gsl_sf_Si_e :: Double -> Ptr () -> IO CInt |
179 | 180 | ||
180 | -- | wrapper for double gsl_sf_Si(double x); | 181 | -- | wrapper for double gsl_sf_Si(double x); |
181 | -- | 182 | -- |
@@ -189,7 +190,7 @@ foreign import ccall "expint.h gsl_sf_Si" gsl_sf_Si :: Double -> Double | |||
189 | -- <http://www.google.com/search?q=gsl_sf_Ci_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 190 | -- <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 :: Double -> (Double,Double) |
191 | ci_e x = createSFR "ci_e" $ gsl_sf_Ci_e x | 192 | 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 | foreign import ccall "expint.h gsl_sf_Ci_e" gsl_sf_Ci_e :: Double -> Ptr () -> IO CInt |
193 | 194 | ||
194 | -- | wrapper for double gsl_sf_Ci(double x); | 195 | -- | wrapper for double gsl_sf_Ci(double x); |
195 | -- | 196 | -- |
@@ -203,7 +204,7 @@ foreign import ccall "expint.h gsl_sf_Ci" gsl_sf_Ci :: Double -> Double | |||
203 | -- <http://www.google.com/search?q=gsl_sf_atanint_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 204 | -- <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 :: Double -> (Double,Double) |
205 | atanint_e x = createSFR "atanint_e" $ gsl_sf_atanint_e x | 206 | 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 | foreign import ccall "expint.h gsl_sf_atanint_e" gsl_sf_atanint_e :: Double -> Ptr () -> IO CInt |
207 | 208 | ||
208 | -- | wrapper for double gsl_sf_atanint(double x); | 209 | -- | wrapper for double gsl_sf_atanint(double x); |
209 | -- | 210 | -- |