summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Lambert.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/Lambert.hs
parent45e0e90ffdedd3c1fbe3da750018c65a1535cf75 (diff)
added special transport and elljac
Diffstat (limited to 'lib/Numeric/GSL/Special/Lambert.hs')
-rw-r--r--lib/Numeric/GSL/Special/Lambert.hs40
1 files changed, 11 insertions, 29 deletions
diff --git a/lib/Numeric/GSL/Special/Lambert.hs b/lib/Numeric/GSL/Special/Lambert.hs
index 3ea0596..7bc820c 100644
--- a/lib/Numeric/GSL/Special/Lambert.hs
+++ b/lib/Numeric/GSL/Special/Lambert.hs
@@ -1,17 +1,15 @@
1------------------------------------------------------------ 1------------------------------------------------------------
2{- | 2-- |
3Module : Numeric.GSL.Special.Lambert 3-- Module : Numeric.GSL.Special.Lambert
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_lambert.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 12-- <http://www.google.com/search?q=gsl_sf_lambert.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
13
14-}
15------------------------------------------------------------ 13------------------------------------------------------------
16 14
17module Numeric.GSL.Special.Lambert( 15module Numeric.GSL.Special.Lambert(
@@ -24,31 +22,15 @@ module Numeric.GSL.Special.Lambert(
24import Foreign(Ptr) 22import Foreign(Ptr)
25import Foreign.C.Types(CInt) 23import Foreign.C.Types(CInt)
26import Numeric.GSL.Special.Internal 24import Numeric.GSL.Special.Internal
27
28-- | wrapper for int gsl_sf_lambert_W0_e(double x,gsl_sf_result* result);
29--
30-- <http://www.google.com/search?q=gsl_sf_lambert_W0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
31lambert_W0_e :: Double -> (Double,Double) 25lambert_W0_e :: Double -> (Double,Double)
32lambert_W0_e x = createSFR "lambert_W0_e" $ gsl_sf_lambert_W0_e x 26lambert_W0_e x = createSFR "lambert_W0_e" $ gsl_sf_lambert_W0_e x
33foreign import ccall "gsl_sf_lambert_W0_e" gsl_sf_lambert_W0_e :: Double -> Ptr () -> IO CInt 27foreign import ccall "gsl_sf_lambert_W0_e" gsl_sf_lambert_W0_e :: Double -> Ptr () -> IO CInt
34
35-- | wrapper for double gsl_sf_lambert_W0(double x);
36--
37-- <http://www.google.com/search?q=gsl_sf_lambert_W0&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
38lambert_W0 :: Double -> Double 28lambert_W0 :: Double -> Double
39lambert_W0 = gsl_sf_lambert_W0 29lambert_W0 = gsl_sf_lambert_W0
40foreign import ccall "gsl_sf_lambert_W0" gsl_sf_lambert_W0 :: Double -> Double 30foreign import ccall "gsl_sf_lambert_W0" gsl_sf_lambert_W0 :: Double -> Double
41
42-- | wrapper for int gsl_sf_lambert_Wm1_e(double x,gsl_sf_result* result);
43--
44-- <http://www.google.com/search?q=gsl_sf_lambert_Wm1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
45lambert_Wm1_e :: Double -> (Double,Double) 31lambert_Wm1_e :: Double -> (Double,Double)
46lambert_Wm1_e x = createSFR "lambert_Wm1_e" $ gsl_sf_lambert_Wm1_e x 32lambert_Wm1_e x = createSFR "lambert_Wm1_e" $ gsl_sf_lambert_Wm1_e x
47foreign import ccall "gsl_sf_lambert_Wm1_e" gsl_sf_lambert_Wm1_e :: Double -> Ptr () -> IO CInt 33foreign import ccall "gsl_sf_lambert_Wm1_e" gsl_sf_lambert_Wm1_e :: Double -> Ptr () -> IO CInt
48
49-- | wrapper for double gsl_sf_lambert_Wm1(double x);
50--
51-- <http://www.google.com/search?q=gsl_sf_lambert_Wm1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
52lambert_Wm1 :: Double -> Double 34lambert_Wm1 :: Double -> Double
53lambert_Wm1 = gsl_sf_lambert_Wm1 35lambert_Wm1 = gsl_sf_lambert_Wm1
54foreign import ccall "gsl_sf_lambert_Wm1" gsl_sf_lambert_Wm1 :: Double -> Double 36foreign import ccall "gsl_sf_lambert_Wm1" gsl_sf_lambert_Wm1 :: Double -> Double