diff options
Diffstat (limited to 'lib/GSL/Special/Elementary.hs')
-rw-r--r-- | lib/GSL/Special/Elementary.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/GSL/Special/Elementary.hs b/lib/GSL/Special/Elementary.hs index 1eab1ce..da927a2 100644 --- a/lib/GSL/Special/Elementary.hs +++ b/lib/GSL/Special/Elementary.hs | |||
@@ -9,7 +9,7 @@ Portability : uses ffi | |||
9 | 9 | ||
10 | Wrappers for selected functions described at: | 10 | Wrappers for selected functions described at: |
11 | 11 | ||
12 | <http://www.gnu.org/software/gsl/manual/html_node/Elementary-Operations.html> | 12 | <http://www.google.com/search?q=gsl_sf_elementary.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | 13 | ||
14 | -} | 14 | -} |
15 | ------------------------------------------------------------ | 15 | ------------------------------------------------------------ |
@@ -24,16 +24,22 @@ import Foreign(Ptr) | |||
24 | import GSL.Special.Internal | 24 | import GSL.Special.Internal |
25 | 25 | ||
26 | -- | wrapper for int gsl_sf_multiply_e(double x,double y,gsl_sf_result* result); | 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> | ||
27 | multiply_e :: Double -> Double -> (Double,Double) | 29 | multiply_e :: Double -> Double -> (Double,Double) |
28 | multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y | 30 | multiply_e x y = createSFR "multiply_e" $ gsl_sf_multiply_e x y |
29 | foreign import ccall "elementary.h gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr Double -> IO(Int) | 31 | foreign import ccall "elementary.h gsl_sf_multiply_e" gsl_sf_multiply_e :: Double -> Double -> Ptr Double -> IO(Int) |
30 | 32 | ||
31 | -- | wrapper for double gsl_sf_multiply(double x,double y); | 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> | ||
32 | multiply :: Double -> Double -> Double | 36 | multiply :: Double -> Double -> Double |
33 | multiply = gsl_sf_multiply | 37 | multiply = gsl_sf_multiply |
34 | foreign import ccall "elementary.h gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double | 38 | foreign import ccall "elementary.h gsl_sf_multiply" gsl_sf_multiply :: Double -> Double -> Double |
35 | 39 | ||
36 | -- | wrapper for int gsl_sf_multiply_err_e(double x,double dx,double y,double dy,gsl_sf_result* result); | 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> | ||
37 | multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) | 43 | multiply_err_e :: Double -> Double -> Double -> Double -> (Double,Double) |
38 | multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy | 44 | multiply_err_e x dx y dy = createSFR "multiply_err_e" $ gsl_sf_multiply_err_e x dx y dy |
39 | foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) | 45 | foreign import ccall "elementary.h gsl_sf_multiply_err_e" gsl_sf_multiply_err_e :: Double -> Double -> Double -> Double -> Ptr Double -> IO(Int) |