summaryrefslogtreecommitdiff
path: root/lib/GSL/Special/Pow_int.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/GSL/Special/Pow_int.hs')
-rw-r--r--lib/GSL/Special/Pow_int.hs6
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
10Wrappers for selected functions described at: 10Wrappers 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)
23import GSL.Special.Internal 23import 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>
26pow_int_e :: Double -> Int -> (Double,Double) 28pow_int_e :: Double -> Int -> (Double,Double)
27pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n 29pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n
28foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> Int -> Ptr Double -> IO(Int) 30foreign 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>
31pow_int :: Double -> Int -> Double 35pow_int :: Double -> Int -> Double
32pow_int = gsl_sf_pow_int 36pow_int = gsl_sf_pow_int
33foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double 37foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double