summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Debye.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-01-21 21:40:07 +0000
committerAlberto Ruiz <aruiz@um.es>2008-01-21 21:40:07 +0000
commit17749900a9146ddf6cd8ebf59dc35e56d6bff413 (patch)
treed352b7b155ebf650cd41a134aeb39450e54163b2 /lib/Numeric/GSL/Special/Debye.hs
parent4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff)
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Debye.hs')
-rw-r--r--lib/Numeric/GSL/Special/Debye.hs41
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
28import Foreign(Ptr) 32import Foreign(Ptr)
33import Foreign.C.Types(CInt)
29import Numeric.GSL.Special.Internal 34import 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>
34debye_1_e :: Double -> (Double,Double) 39debye_1_e :: Double -> (Double,Double)
35debye_1_e x = createSFR "debye_1_e" $ gsl_sf_debye_1_e x 40debye_1_e x = createSFR "debye_1_e" $ gsl_sf_debye_1_e x
36foreign import ccall "debye.h gsl_sf_debye_1_e" gsl_sf_debye_1_e :: Double -> Ptr Double -> IO(Int) 41foreign 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>
48debye_2_e :: Double -> (Double,Double) 53debye_2_e :: Double -> (Double,Double)
49debye_2_e x = createSFR "debye_2_e" $ gsl_sf_debye_2_e x 54debye_2_e x = createSFR "debye_2_e" $ gsl_sf_debye_2_e x
50foreign import ccall "debye.h gsl_sf_debye_2_e" gsl_sf_debye_2_e :: Double -> Ptr Double -> IO(Int) 55foreign 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>
62debye_3_e :: Double -> (Double,Double) 67debye_3_e :: Double -> (Double,Double)
63debye_3_e x = createSFR "debye_3_e" $ gsl_sf_debye_3_e x 68debye_3_e x = createSFR "debye_3_e" $ gsl_sf_debye_3_e x
64foreign import ccall "debye.h gsl_sf_debye_3_e" gsl_sf_debye_3_e :: Double -> Ptr Double -> IO(Int) 69foreign 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>
76debye_4_e :: Double -> (Double,Double) 81debye_4_e :: Double -> (Double,Double)
77debye_4_e x = createSFR "debye_4_e" $ gsl_sf_debye_4_e x 82debye_4_e x = createSFR "debye_4_e" $ gsl_sf_debye_4_e x
78foreign import ccall "debye.h gsl_sf_debye_4_e" gsl_sf_debye_4_e :: Double -> Ptr Double -> IO(Int) 83foreign 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
83debye_4 :: Double -> Double 88debye_4 :: Double -> Double
84debye_4 = gsl_sf_debye_4 89debye_4 = gsl_sf_debye_4
85foreign import ccall "debye.h gsl_sf_debye_4" gsl_sf_debye_4 :: Double -> Double 90foreign 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>
95debye_5_e :: Double -> (Double,Double)
96debye_5_e x = createSFR "debye_5_e" $ gsl_sf_debye_5_e x
97foreign 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>
102debye_5 :: Double -> Double
103debye_5 = gsl_sf_debye_5
104foreign 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>
109debye_6_e :: Double -> (Double,Double)
110debye_6_e x = createSFR "debye_6_e" $ gsl_sf_debye_6_e x
111foreign 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>
116debye_6 :: Double -> Double
117debye_6 = gsl_sf_debye_6
118foreign import ccall "debye.h gsl_sf_debye_6" gsl_sf_debye_6 :: Double -> Double