summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Lambert.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/Lambert.hs
parent4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff)
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Lambert.hs')
-rw-r--r--lib/Numeric/GSL/Special/Lambert.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Special/Lambert.hs b/lib/Numeric/GSL/Special/Lambert.hs
index ad5579f..18071fa 100644
--- a/lib/Numeric/GSL/Special/Lambert.hs
+++ b/lib/Numeric/GSL/Special/Lambert.hs
@@ -22,6 +22,7 @@ module Numeric.GSL.Special.Lambert(
22) where 22) where
23 23
24import Foreign(Ptr) 24import Foreign(Ptr)
25import Foreign.C.Types(CInt)
25import Numeric.GSL.Special.Internal 26import Numeric.GSL.Special.Internal
26 27
27-- | wrapper for int gsl_sf_lambert_W0_e(double x,gsl_sf_result* result); 28-- | wrapper for int gsl_sf_lambert_W0_e(double x,gsl_sf_result* result);
@@ -29,7 +30,7 @@ import Numeric.GSL.Special.Internal
29-- <http://www.google.com/search?q=gsl_sf_lambert_W0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 30-- <http://www.google.com/search?q=gsl_sf_lambert_W0_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
30lambert_W0_e :: Double -> (Double,Double) 31lambert_W0_e :: Double -> (Double,Double)
31lambert_W0_e x = createSFR "lambert_W0_e" $ gsl_sf_lambert_W0_e x 32lambert_W0_e x = createSFR "lambert_W0_e" $ gsl_sf_lambert_W0_e x
32foreign import ccall "lambert.h gsl_sf_lambert_W0_e" gsl_sf_lambert_W0_e :: Double -> Ptr Double -> IO(Int) 33foreign import ccall "lambert.h gsl_sf_lambert_W0_e" gsl_sf_lambert_W0_e :: Double -> Ptr () -> IO CInt
33 34
34-- | wrapper for double gsl_sf_lambert_W0(double x); 35-- | wrapper for double gsl_sf_lambert_W0(double x);
35-- 36--
@@ -43,7 +44,7 @@ foreign import ccall "lambert.h gsl_sf_lambert_W0" gsl_sf_lambert_W0 :: Double -
43-- <http://www.google.com/search?q=gsl_sf_lambert_Wm1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 44-- <http://www.google.com/search?q=gsl_sf_lambert_Wm1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
44lambert_Wm1_e :: Double -> (Double,Double) 45lambert_Wm1_e :: Double -> (Double,Double)
45lambert_Wm1_e x = createSFR "lambert_Wm1_e" $ gsl_sf_lambert_Wm1_e x 46lambert_Wm1_e x = createSFR "lambert_Wm1_e" $ gsl_sf_lambert_Wm1_e x
46foreign import ccall "lambert.h gsl_sf_lambert_Wm1_e" gsl_sf_lambert_Wm1_e :: Double -> Ptr Double -> IO(Int) 47foreign import ccall "lambert.h gsl_sf_lambert_Wm1_e" gsl_sf_lambert_Wm1_e :: Double -> Ptr () -> IO CInt
47 48
48-- | wrapper for double gsl_sf_lambert_Wm1(double x); 49-- | wrapper for double gsl_sf_lambert_Wm1(double x);
49-- 50--