diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Elementary.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Elementary.hs | 5 |
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 | ||
23 | import Foreign(Ptr) | 23 | import Foreign(Ptr) |
24 | import Foreign.C.Types(CInt) | ||
24 | import Numeric.GSL.Special.Internal | 25 | import 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> |
29 | multiply_e :: Double -> Double -> (Double,Double) | 30 | multiply_e :: Double -> Double -> (Double,Double) |
30 | multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y | 31 | multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y |
31 | foreign import ccall "elementary.h gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr Double -> IO(Int) | 32 | foreign 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> |
43 | multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) | 44 | multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) |
44 | multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy | 45 | multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy |
45 | foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | 46 | foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr () -> IO CInt |