diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Debye.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Debye.hs | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/lib/Numeric/GSL/Special/Debye.hs b/lib/Numeric/GSL/Special/Debye.hs new file mode 100644 index 0000000..b8e9aca --- /dev/null +++ b/lib/Numeric/GSL/Special/Debye.hs | |||
@@ -0,0 +1,85 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : Numeric.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 Numeric.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 Numeric.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 | ||