diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Laguerre.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Laguerre.hs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Numeric/GSL/Special/Laguerre.hs b/lib/Numeric/GSL/Special/Laguerre.hs index 320e451..81e7c47 100644 --- a/lib/Numeric/GSL/Special/Laguerre.hs +++ b/lib/Numeric/GSL/Special/Laguerre.hs | |||
@@ -26,6 +26,7 @@ module Numeric.GSL.Special.Laguerre( | |||
26 | ) where | 26 | ) where |
27 | 27 | ||
28 | import Foreign(Ptr) | 28 | import Foreign(Ptr) |
29 | import Foreign.C.Types(CInt) | ||
29 | import Numeric.GSL.Special.Internal | 30 | import Numeric.GSL.Special.Internal |
30 | 31 | ||
31 | -- | wrapper for int gsl_sf_laguerre_1_e(double a,double x,gsl_sf_result* result); | 32 | -- | wrapper for int gsl_sf_laguerre_1_e(double a,double x,gsl_sf_result* result); |
@@ -33,21 +34,21 @@ import Numeric.GSL.Special.Internal | |||
33 | -- <http://www.google.com/search?q=gsl_sf_laguerre_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 34 | -- <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 :: Double -> Double -> (Double,Double) |
35 | laguerre_1_e a x = createSFR "laguerre_1_e" $ gsl_sf_laguerre_1_e a x | 36 | 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 | foreign import ccall "laguerre.h gsl_sf_laguerre_1_e" gsl_sf_laguerre_1_e :: Double -> Double -> Ptr () -> IO CInt |
37 | 38 | ||
38 | -- | wrapper for int gsl_sf_laguerre_2_e(double a,double x,gsl_sf_result* result); | 39 | -- | wrapper for int gsl_sf_laguerre_2_e(double a,double x,gsl_sf_result* result); |
39 | -- | 40 | -- |
40 | -- <http://www.google.com/search?q=gsl_sf_laguerre_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 41 | -- <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 :: Double -> Double -> (Double,Double) |
42 | laguerre_2_e a x = createSFR "laguerre_2_e" $ gsl_sf_laguerre_2_e a x | 43 | 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 | foreign import ccall "laguerre.h gsl_sf_laguerre_2_e" gsl_sf_laguerre_2_e :: Double -> Double -> Ptr () -> IO CInt |
44 | 45 | ||
45 | -- | wrapper for int gsl_sf_laguerre_3_e(double a,double x,gsl_sf_result* result); | 46 | -- | wrapper for int gsl_sf_laguerre_3_e(double a,double x,gsl_sf_result* result); |
46 | -- | 47 | -- |
47 | -- <http://www.google.com/search?q=gsl_sf_laguerre_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 48 | -- <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 :: Double -> Double -> (Double,Double) |
49 | laguerre_3_e a x = createSFR "laguerre_3_e" $ gsl_sf_laguerre_3_e a x | 50 | 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 | foreign import ccall "laguerre.h gsl_sf_laguerre_3_e" gsl_sf_laguerre_3_e :: Double -> Double -> Ptr () -> IO CInt |
51 | 52 | ||
52 | -- | wrapper for double gsl_sf_laguerre_1(double a,double x); | 53 | -- | wrapper for double gsl_sf_laguerre_1(double a,double x); |
53 | -- | 54 | -- |
@@ -73,13 +74,13 @@ foreign import ccall "laguerre.h gsl_sf_laguerre_3" gsl_sf_laguerre_3 :: Double | |||
73 | -- | wrapper for int gsl_sf_laguerre_n_e(int n,double a,double x,gsl_sf_result* result); | 74 | -- | wrapper for int gsl_sf_laguerre_n_e(int n,double a,double x,gsl_sf_result* result); |
74 | -- | 75 | -- |
75 | -- <http://www.google.com/search?q=gsl_sf_laguerre_n_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 76 | -- <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 :: CInt -> Double -> Double -> (Double,Double) |
77 | laguerre_n_e n a x = createSFR "laguerre_n_e" $ gsl_sf_laguerre_n_e n a x | 78 | 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 | foreign import ccall "laguerre.h gsl_sf_laguerre_n_e" gsl_sf_laguerre_n_e :: CInt -> Double -> Double -> Ptr () -> IO CInt |
79 | 80 | ||
80 | -- | wrapper for double gsl_sf_laguerre_n(int n,double a,double x); | 81 | -- | wrapper for double gsl_sf_laguerre_n(int n,double a,double x); |
81 | -- | 82 | -- |
82 | -- <http://www.google.com/search?q=gsl_sf_laguerre_n&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 83 | -- <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 :: CInt -> Double -> Double -> Double |
84 | laguerre_n = gsl_sf_laguerre_n | 85 | laguerre_n = gsl_sf_laguerre_n |
85 | foreign import ccall "laguerre.h gsl_sf_laguerre_n" gsl_sf_laguerre_n :: Int -> Double -> Double -> Double | 86 | foreign import ccall "laguerre.h gsl_sf_laguerre_n" gsl_sf_laguerre_n :: CInt -> Double -> Double -> Double |