diff options
Diffstat (limited to 'lib/GSL/Special/Elementary.hs')
-rw-r--r-- | lib/GSL/Special/Elementary.hs | 45 |
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 | {- | | ||
3 | Module : GSL.Special.Elementary | ||
4 | Copyright : (c) Alberto Ruiz 2006 | ||
5 | License : GPL-style | ||
6 | Maintainer : Alberto Ruiz (aruiz at um dot es) | ||
7 | Stability : provisional | ||
8 | Portability : uses ffi | ||
9 | |||
10 | Wrappers 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 | |||
17 | module GSL.Special.Elementary( | ||
18 | multiply_e | ||
19 | , multiply | ||
20 | , multiply_err_e | ||
21 | ) where | ||
22 | |||
23 | import Foreign(Ptr) | ||
24 | import 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> | ||
29 | multiply_e :: Double -> Double -> (Double,Double) | ||
30 | 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 | |||
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> | ||
36 | multiply :: Double -> Double -> Double | ||
37 | multiply = gsl_sf_multiply | ||
38 | foreign 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> | ||
43 | 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 | foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | ||