diff options
author | Alberto Ruiz <aruiz@um.es> | 2008-01-21 21:40:07 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2008-01-21 21:40:07 +0000 |
commit | 17749900a9146ddf6cd8ebf59dc35e56d6bff413 (patch) | |
tree | d352b7b155ebf650cd41a134aeb39450e54163b2 /lib/Numeric/GSL/Special/Debye.hs | |
parent | 4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff) |
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Debye.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Debye.hs | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/lib/Numeric/GSL/Special/Debye.hs b/lib/Numeric/GSL/Special/Debye.hs index b8e9aca..c059cf1 100644 --- a/lib/Numeric/GSL/Special/Debye.hs +++ b/lib/Numeric/GSL/Special/Debye.hs | |||
@@ -23,9 +23,14 @@ module Numeric.GSL.Special.Debye( | |||
23 | , debye_3 | 23 | , debye_3 |
24 | , debye_4_e | 24 | , debye_4_e |
25 | , debye_4 | 25 | , debye_4 |
26 | , debye_5_e | ||
27 | , debye_5 | ||
28 | , debye_6_e | ||
29 | , debye_6 | ||
26 | ) where | 30 | ) where |
27 | 31 | ||
28 | import Foreign(Ptr) | 32 | import Foreign(Ptr) |
33 | import Foreign.C.Types(CInt) | ||
29 | import Numeric.GSL.Special.Internal | 34 | import Numeric.GSL.Special.Internal |
30 | 35 | ||
31 | -- | wrapper for int gsl_sf_debye_1_e(double x,gsl_sf_result* result); | 36 | -- | wrapper for int gsl_sf_debye_1_e(double x,gsl_sf_result* result); |
@@ -33,7 +38,7 @@ import Numeric.GSL.Special.Internal | |||
33 | -- <http://www.google.com/search?q=gsl_sf_debye_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 38 | -- <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) | 39 | debye_1_e :: Double -> (Double,Double) |
35 | debye_1_e x = createSFR "debye_1_e" $ gsl_sf_debye_1_e x | 40 | 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) | 41 | foreign import ccall "debye.h gsl_sf_debye_1_e" gsl_sf_debye_1_e :: Double -> Ptr () -> IO CInt |
37 | 42 | ||
38 | -- | wrapper for double gsl_sf_debye_1(double x); | 43 | -- | wrapper for double gsl_sf_debye_1(double x); |
39 | -- | 44 | -- |
@@ -47,7 +52,7 @@ foreign import ccall "debye.h gsl_sf_debye_1" gsl_sf_debye_1 :: Double -> Double | |||
47 | -- <http://www.google.com/search?q=gsl_sf_debye_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 52 | -- <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) | 53 | debye_2_e :: Double -> (Double,Double) |
49 | debye_2_e x = createSFR "debye_2_e" $ gsl_sf_debye_2_e x | 54 | 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) | 55 | foreign import ccall "debye.h gsl_sf_debye_2_e" gsl_sf_debye_2_e :: Double -> Ptr () -> IO CInt |
51 | 56 | ||
52 | -- | wrapper for double gsl_sf_debye_2(double x); | 57 | -- | wrapper for double gsl_sf_debye_2(double x); |
53 | -- | 58 | -- |
@@ -61,7 +66,7 @@ foreign import ccall "debye.h gsl_sf_debye_2" gsl_sf_debye_2 :: Double -> Double | |||
61 | -- <http://www.google.com/search?q=gsl_sf_debye_3_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 66 | -- <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) | 67 | debye_3_e :: Double -> (Double,Double) |
63 | debye_3_e x = createSFR "debye_3_e" $ gsl_sf_debye_3_e x | 68 | 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) | 69 | foreign import ccall "debye.h gsl_sf_debye_3_e" gsl_sf_debye_3_e :: Double -> Ptr () -> IO CInt |
65 | 70 | ||
66 | -- | wrapper for double gsl_sf_debye_3(double x); | 71 | -- | wrapper for double gsl_sf_debye_3(double x); |
67 | -- | 72 | -- |
@@ -75,7 +80,7 @@ foreign import ccall "debye.h gsl_sf_debye_3" gsl_sf_debye_3 :: Double -> Double | |||
75 | -- <http://www.google.com/search?q=gsl_sf_debye_4_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | 80 | -- <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) | 81 | debye_4_e :: Double -> (Double,Double) |
77 | debye_4_e x = createSFR "debye_4_e" $ gsl_sf_debye_4_e x | 82 | 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) | 83 | foreign import ccall "debye.h gsl_sf_debye_4_e" gsl_sf_debye_4_e :: Double -> Ptr () -> IO CInt |
79 | 84 | ||
80 | -- | wrapper for double gsl_sf_debye_4(double x); | 85 | -- | wrapper for double gsl_sf_debye_4(double x); |
81 | -- | 86 | -- |
@@ -83,3 +88,31 @@ foreign import ccall "debye.h gsl_sf_debye_4_e" gsl_sf_debye_4_e :: Double -> Pt | |||
83 | debye_4 :: Double -> Double | 88 | debye_4 :: Double -> Double |
84 | debye_4 = gsl_sf_debye_4 | 89 | debye_4 = gsl_sf_debye_4 |
85 | foreign import ccall "debye.h gsl_sf_debye_4" gsl_sf_debye_4 :: Double -> Double | 90 | foreign import ccall "debye.h gsl_sf_debye_4" gsl_sf_debye_4 :: Double -> Double |
91 | |||
92 | -- | wrapper for int gsl_sf_debye_5_e(double x,gsl_sf_result* result); | ||
93 | -- | ||
94 | -- <http://www.google.com/search?q=gsl_sf_debye_5_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
95 | debye_5_e :: Double -> (Double,Double) | ||
96 | debye_5_e x = createSFR "debye_5_e" $ gsl_sf_debye_5_e x | ||
97 | foreign import ccall "debye.h gsl_sf_debye_5_e" gsl_sf_debye_5_e :: Double -> Ptr () -> IO CInt | ||
98 | |||
99 | -- | wrapper for double gsl_sf_debye_5(double x); | ||
100 | -- | ||
101 | -- <http://www.google.com/search?q=gsl_sf_debye_5&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
102 | debye_5 :: Double -> Double | ||
103 | debye_5 = gsl_sf_debye_5 | ||
104 | foreign import ccall "debye.h gsl_sf_debye_5" gsl_sf_debye_5 :: Double -> Double | ||
105 | |||
106 | -- | wrapper for int gsl_sf_debye_6_e(double x,gsl_sf_result* result); | ||
107 | -- | ||
108 | -- <http://www.google.com/search?q=gsl_sf_debye_6_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
109 | debye_6_e :: Double -> (Double,Double) | ||
110 | debye_6_e x = createSFR "debye_6_e" $ gsl_sf_debye_6_e x | ||
111 | foreign import ccall "debye.h gsl_sf_debye_6_e" gsl_sf_debye_6_e :: Double -> Ptr () -> IO CInt | ||
112 | |||
113 | -- | wrapper for double gsl_sf_debye_6(double x); | ||
114 | -- | ||
115 | -- <http://www.google.com/search?q=gsl_sf_debye_6&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
116 | debye_6 :: Double -> Double | ||
117 | debye_6 = gsl_sf_debye_6 | ||
118 | foreign import ccall "debye.h gsl_sf_debye_6" gsl_sf_debye_6 :: Double -> Double | ||