summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Elementary.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/GSL/Special/Elementary.hs')
-rw-r--r--lib/Numeric/GSL/Special/Elementary.hs36
1 files changed, 11 insertions, 25 deletions
diff --git a/lib/Numeric/GSL/Special/Elementary.hs b/lib/Numeric/GSL/Special/Elementary.hs
index b433a7a..e804c05 100644
--- a/lib/Numeric/GSL/Special/Elementary.hs
+++ b/lib/Numeric/GSL/Special/Elementary.hs
@@ -1,17 +1,15 @@
1------------------------------------------------------------ 1------------------------------------------------------------
2{- | 2-- |
3Module : Numeric.GSL.Special.Elementary 3-- Module : Numeric.GSL.Special.Elementary
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_elementary.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 12-- <http://www.google.com/search?q=gsl_sf_elementary.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
13
14-}
15------------------------------------------------------------ 13------------------------------------------------------------
16 14
17module Numeric.GSL.Special.Elementary( 15module Numeric.GSL.Special.Elementary(
@@ -23,24 +21,12 @@ module Numeric.GSL.Special.Elementary(
23import Foreign(Ptr) 21import Foreign(Ptr)
24import Foreign.C.Types(CInt) 22import Foreign.C.Types(CInt)
25import Numeric.GSL.Special.Internal 23import Numeric.GSL.Special.Internal
26
27-- | wrapper for int gsl_sf_multiply_e(double x,double y,gsl_sf_result* result);
28--
29-- <http://www.google.com/search?q=gsl_sf_multiply_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
30multiply_e :: Double -> Double -> (Double,Double) 24multiply_e :: Double -> Double -> (Double,Double)
31multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y 25multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y
32foreign import ccall "gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr () -> IO CInt 26foreign import ccall "gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr () -> IO CInt
33
34-- | wrapper for double gsl_sf_multiply(double x,double y);
35--
36-- <http://www.google.com/search?q=gsl_sf_multiply&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
37multiply :: Double -> Double -> Double 27multiply :: Double -> Double -> Double
38multiply = gsl_sf_multiply 28multiply = gsl_sf_multiply
39foreign import ccall "gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double 29foreign import ccall "gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double
40
41-- | wrapper for int gsl_sf_multiply_err_e(double x,double dx,double y,double dy,gsl_sf_result* result);
42--
43-- <http://www.google.com/search?q=gsl_sf_multiply_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
44multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) 30multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double)
45multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy 31multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy
46foreign import ccall "gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr () -> IO CInt 32foreign import ccall "gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr () -> IO CInt