summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Fermi_dirac.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/GSL/Special/Fermi_dirac.hs')
-rw-r--r--lib/Numeric/GSL/Special/Fermi_dirac.hs165
1 files changed, 165 insertions, 0 deletions
diff --git a/lib/Numeric/GSL/Special/Fermi_dirac.hs b/lib/Numeric/GSL/Special/Fermi_dirac.hs
new file mode 100644
index 0000000..a189dd4
--- /dev/null
+++ b/lib/Numeric/GSL/Special/Fermi_dirac.hs
@@ -0,0 +1,165 @@
1------------------------------------------------------------
2{- |
3Module : Numeric.GSL.Special.Fermi_dirac
4Copyright : (c) Alberto Ruiz 2006
5License : GPL-style
6Maintainer : Alberto Ruiz (aruiz at um dot es)
7Stability : provisional
8Portability : uses ffi
9
10Wrappers for selected functions described at:
11
12<http://www.google.com/search?q=gsl_sf_fermi_dirac.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
13
14-}
15------------------------------------------------------------
16
17module Numeric.GSL.Special.Fermi_dirac(
18 fermi_dirac_m1_e
19, fermi_dirac_m1
20, fermi_dirac_0_e
21, fermi_dirac_0
22, fermi_dirac_1_e
23, fermi_dirac_1
24, fermi_dirac_2_e
25, fermi_dirac_2
26, fermi_dirac_int_e
27, fermi_dirac_int
28, fermi_dirac_mhalf_e
29, fermi_dirac_mhalf
30, fermi_dirac_half_e
31, fermi_dirac_half
32, fermi_dirac_3half_e
33, fermi_dirac_3half
34, fermi_dirac_inc_0_e
35, fermi_dirac_inc_0
36) where
37
38import Foreign(Ptr)
39import Numeric.GSL.Special.Internal
40
41-- | wrapper for int gsl_sf_fermi_dirac_m1_e(double x,gsl_sf_result* result);
42--
43-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_m1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
44fermi_dirac_m1_e :: Double -> (Double,Double)
45fermi_dirac_m1_e x = createSFR "fermi_dirac_m1_e" $ gsl_sf_fermi_dirac_m1_e x
46foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_m1_e" gsl_sf_fermi_dirac_m1_e :: Double -> Ptr Double -> IO(Int)
47
48-- | wrapper for double gsl_sf_fermi_dirac_m1(double x);
49--
50-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_m1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
51fermi_dirac_m1 :: Double -> Double
52fermi_dirac_m1 = gsl_sf_fermi_dirac_m1
53foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_m1" gsl_sf_fermi_dirac_m1 :: Double -> Double
54
55-- | wrapper for int gsl_sf_fermi_dirac_0_e(double x,gsl_sf_result* result);
56--
57-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
58fermi_dirac_0_e :: Double -> (Double,Double)
59fermi_dirac_0_e x = createSFR "fermi_dirac_0_e" $ gsl_sf_fermi_dirac_0_e x
60foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_0_e" gsl_sf_fermi_dirac_0_e :: Double -> Ptr Double -> IO(Int)
61
62-- | wrapper for double gsl_sf_fermi_dirac_0(double x);
63--
64-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
65fermi_dirac_0 :: Double -> Double
66fermi_dirac_0 = gsl_sf_fermi_dirac_0
67foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_0" gsl_sf_fermi_dirac_0 :: Double -> Double
68
69-- | wrapper for int gsl_sf_fermi_dirac_1_e(double x,gsl_sf_result* result);
70--
71-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
72fermi_dirac_1_e :: Double -> (Double,Double)
73fermi_dirac_1_e x = createSFR "fermi_dirac_1_e" $ gsl_sf_fermi_dirac_1_e x
74foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_1_e" gsl_sf_fermi_dirac_1_e :: Double -> Ptr Double -> IO(Int)
75
76-- | wrapper for double gsl_sf_fermi_dirac_1(double x);
77--
78-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
79fermi_dirac_1 :: Double -> Double
80fermi_dirac_1 = gsl_sf_fermi_dirac_1
81foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_1" gsl_sf_fermi_dirac_1 :: Double -> Double
82
83-- | wrapper for int gsl_sf_fermi_dirac_2_e(double x,gsl_sf_result* result);
84--
85-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_2_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
86fermi_dirac_2_e :: Double -> (Double,Double)
87fermi_dirac_2_e x = createSFR "fermi_dirac_2_e" $ gsl_sf_fermi_dirac_2_e x
88foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_2_e" gsl_sf_fermi_dirac_2_e :: Double -> Ptr Double -> IO(Int)
89
90-- | wrapper for double gsl_sf_fermi_dirac_2(double x);
91--
92-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_2&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
93fermi_dirac_2 :: Double -> Double
94fermi_dirac_2 = gsl_sf_fermi_dirac_2
95foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_2" gsl_sf_fermi_dirac_2 :: Double -> Double
96
97-- | wrapper for int gsl_sf_fermi_dirac_int_e(int j,double x,gsl_sf_result* result);
98--
99-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
100fermi_dirac_int_e :: Int -> Double -> (Double,Double)
101fermi_dirac_int_e j x = createSFR "fermi_dirac_int_e" $ gsl_sf_fermi_dirac_int_e j x
102foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_int_e" gsl_sf_fermi_dirac_int_e :: Int -> Double -> Ptr Double -> IO(Int)
103
104-- | wrapper for double gsl_sf_fermi_dirac_int(int j,double x);
105--
106-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
107fermi_dirac_int :: Int -> Double -> Double
108fermi_dirac_int = gsl_sf_fermi_dirac_int
109foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_int" gsl_sf_fermi_dirac_int :: Int -> Double -> Double
110
111-- | wrapper for int gsl_sf_fermi_dirac_mhalf_e(double x,gsl_sf_result* result);
112--
113-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_mhalf_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
114fermi_dirac_mhalf_e :: Double -> (Double,Double)
115fermi_dirac_mhalf_e x = createSFR "fermi_dirac_mhalf_e" $ gsl_sf_fermi_dirac_mhalf_e x
116foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_mhalf_e" gsl_sf_fermi_dirac_mhalf_e :: Double -> Ptr Double -> IO(Int)
117
118-- | wrapper for double gsl_sf_fermi_dirac_mhalf(double x);
119--
120-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_mhalf&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
121fermi_dirac_mhalf :: Double -> Double
122fermi_dirac_mhalf = gsl_sf_fermi_dirac_mhalf
123foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_mhalf" gsl_sf_fermi_dirac_mhalf :: Double -> Double
124
125-- | wrapper for int gsl_sf_fermi_dirac_half_e(double x,gsl_sf_result* result);
126--
127-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_half_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
128fermi_dirac_half_e :: Double -> (Double,Double)
129fermi_dirac_half_e x = createSFR "fermi_dirac_half_e" $ gsl_sf_fermi_dirac_half_e x
130foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_half_e" gsl_sf_fermi_dirac_half_e :: Double -> Ptr Double -> IO(Int)
131
132-- | wrapper for double gsl_sf_fermi_dirac_half(double x);
133--
134-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_half&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
135fermi_dirac_half :: Double -> Double
136fermi_dirac_half = gsl_sf_fermi_dirac_half
137foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_half" gsl_sf_fermi_dirac_half :: Double -> Double
138
139-- | wrapper for int gsl_sf_fermi_dirac_3half_e(double x,gsl_sf_result* result);
140--
141-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_3half_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
142fermi_dirac_3half_e :: Double -> (Double,Double)
143fermi_dirac_3half_e x = createSFR "fermi_dirac_3half_e" $ gsl_sf_fermi_dirac_3half_e x
144foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_3half_e" gsl_sf_fermi_dirac_3half_e :: Double -> Ptr Double -> IO(Int)
145
146-- | wrapper for double gsl_sf_fermi_dirac_3half(double x);
147--
148-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_3half&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
149fermi_dirac_3half :: Double -> Double
150fermi_dirac_3half = gsl_sf_fermi_dirac_3half
151foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_3half" gsl_sf_fermi_dirac_3half :: Double -> Double
152
153-- | wrapper for int gsl_sf_fermi_dirac_inc_0_e(double x,double b,gsl_sf_result* result);
154--
155-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_inc_0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
156fermi_dirac_inc_0_e :: Double -> Double -> (Double,Double)
157fermi_dirac_inc_0_e x b = createSFR "fermi_dirac_inc_0_e" $ gsl_sf_fermi_dirac_inc_0_e x b
158foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_inc_0_e" gsl_sf_fermi_dirac_inc_0_e :: Double -> Double -> Ptr Double -> IO(Int)
159
160-- | wrapper for double gsl_sf_fermi_dirac_inc_0(double x,double b);
161--
162-- <http://www.google.com/search?q=gsl_sf_fermi_dirac_inc_0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
163fermi_dirac_inc_0 :: Double -> Double -> Double
164fermi_dirac_inc_0 = gsl_sf_fermi_dirac_inc_0
165foreign import ccall "fermi_dirac.h gsl_sf_fermi_dirac_inc_0" gsl_sf_fermi_dirac_inc_0 :: Double -> Double -> Double