summaryrefslogtreecommitdiff
path: root/lib/GSL/Special/Elementary.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/GSL/Special/Elementary.hs')
-rw-r--r--lib/GSL/Special/Elementary.hs45
1 files changed, 0 insertions, 45 deletions
diff --git a/lib/GSL/Special/Elementary.hs b/lib/GSL/Special/Elementary.hs
deleted file mode 100644
index da927a2..0000000
--- a/lib/GSL/Special/Elementary.hs
+++ /dev/null
@@ -1,45 +0,0 @@
1------------------------------------------------------------
2{- |
3Module : GSL.Special.Elementary
4Copyright : (c) Alberto Ruiz 2006
5License : GPL-style
6Maintainer : Alberto Ruiz (aruiz at um dot es)
7Stability : provisional
8Portability : uses ffi
9
10Wrappers for selected functions described at:
11
12<http://www.google.com/search?q=gsl_sf_elementary.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
13
14-}
15------------------------------------------------------------
16
17module GSL.Special.Elementary(
18 multiply_e
19, multiply
20, multiply_err_e
21) where
22
23import Foreign(Ptr)
24import GSL.Special.Internal
25
26-- | wrapper for int gsl_sf_multiply_e(double x,double y,gsl_sf_result* result);
27--
28-- <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 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)
32
33-- | wrapper for double gsl_sf_multiply(double x,double y);
34--
35-- <http://www.google.com/search?q=gsl_sf_multiply&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
36multiply :: Double -> Double -> Double
37multiply = gsl_sf_multiply
38foreign import ccall "elementary.h gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double
39
40-- | wrapper for int gsl_sf_multiply_err_e(double x,double dx,double y,double dy,gsl_sf_result* result);
41--
42-- <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 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)