diff options
author | Alberto Ruiz <aruiz@um.es> | 2007-09-13 10:27:17 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2007-09-13 10:27:17 +0000 |
commit | 620d5008ea9a931a91907cd0c902bb64f005121f (patch) | |
tree | 7dd55acefdc49cbe1513fb0b1fbf60f954d3d364 /lib/GSL/Special/Pow_int.hs | |
parent | 0ff13d993b880739295de343bca62f06fac5ca0c (diff) |
automatic google search in the docs for the special functions
Diffstat (limited to 'lib/GSL/Special/Pow_int.hs')
-rw-r--r-- | lib/GSL/Special/Pow_int.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/GSL/Special/Pow_int.hs b/lib/GSL/Special/Pow_int.hs index b476a92..4142c5b 100644 --- a/lib/GSL/Special/Pow_int.hs +++ b/lib/GSL/Special/Pow_int.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/Power-Function.html> | 12 | <http://www.google.com/search?q=gsl_sf_pow_int.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | 13 | ||
14 | -} | 14 | -} |
15 | ------------------------------------------------------------ | 15 | ------------------------------------------------------------ |
@@ -23,11 +23,15 @@ import Foreign(Ptr) | |||
23 | import GSL.Special.Internal | 23 | import GSL.Special.Internal |
24 | 24 | ||
25 | -- | wrapper for int gsl_sf_pow_int_e(double x,int n,gsl_sf_result* result); | 25 | -- | wrapper for int gsl_sf_pow_int_e(double x,int n,gsl_sf_result* result); |
26 | -- | ||
27 | -- <http://www.google.com/search?q=gsl_sf_pow_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
26 | pow_int_e :: Double -> Int -> (Double,Double) | 28 | pow_int_e :: Double -> Int -> (Double,Double) |
27 | pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n | 29 | pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n |
28 | foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> Int -> Ptr Double -> IO(Int) | 30 | foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> Int -> Ptr Double -> IO(Int) |
29 | 31 | ||
30 | -- | wrapper for double gsl_sf_pow_int(double x,int n); | 32 | -- | wrapper for double gsl_sf_pow_int(double x,int n); |
33 | -- | ||
34 | -- <http://www.google.com/search?q=gsl_sf_pow_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
31 | pow_int :: Double -> Int -> Double | 35 | pow_int :: Double -> Int -> Double |
32 | pow_int = gsl_sf_pow_int | 36 | pow_int = gsl_sf_pow_int |
33 | foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double | 37 | foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double |