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