summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Elementary.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/Elementary.hs
parent4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff)
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Elementary.hs')
-rw-r--r--lib/Numeric/GSL/Special/Elementary.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Numeric/GSL/Special/Elementary.hs b/lib/Numeric/GSL/Special/Elementary.hs
index 0312ada..7744778 100644
--- a/lib/Numeric/GSL/Special/Elementary.hs
+++ b/lib/Numeric/GSL/Special/Elementary.hs
@@ -21,6 +21,7 @@ module Numeric.GSL.Special.Elementary(
21) where 21) where
22 22
23import Foreign(Ptr) 23import Foreign(Ptr)
24import Foreign.C.Types(CInt)
24import Numeric.GSL.Special.Internal 25import Numeric.GSL.Special.Internal
25 26
26-- | wrapper for int gsl_sf_multiply_e(double x,double y,gsl_sf_result* result); 27-- | wrapper for int gsl_sf_multiply_e(double x,double y,gsl_sf_result* result);
@@ -28,7 +29,7 @@ import Numeric.GSL.Special.Internal
28-- <http://www.google.com/search?q=gsl_sf_multiply_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 29-- <http://www.google.com/search?q=gsl_sf_multiply_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
29multiply_e :: Double -> Double -> (Double,Double) 30multiply_e :: Double -> Double -> (Double,Double)
30multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y 31multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y
31foreign import ccall "elementary.h gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr Double -> IO(Int) 32foreign import ccall "elementary.h gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr () -> IO CInt
32 33
33-- | wrapper for double gsl_sf_multiply(double x,double y); 34-- | wrapper for double gsl_sf_multiply(double x,double y);
34-- 35--
@@ -42,4 +43,4 @@ foreign import ccall "elementary.h gsl_sf_multiply" gsl_sf_multiply :: Double ->
42-- <http://www.google.com/search?q=gsl_sf_multiply_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 43-- <http://www.google.com/search?q=gsl_sf_multiply_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
43multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) 44multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double)
44multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy 45multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy
45foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) 46foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr () -> IO CInt