summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Pow_int.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2008-01-21 21:40:07 +0000
committerAlberto Ruiz <aruiz@um.es>2008-01-21 21:40:07 +0000
commit17749900a9146ddf6cd8ebf59dc35e56d6bff413 (patch)
treed352b7b155ebf650cd41a134aeb39450e54163b2 /lib/Numeric/GSL/Special/Pow_int.hs
parent4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff)
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Pow_int.hs')
-rw-r--r--lib/Numeric/GSL/Special/Pow_int.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Numeric/GSL/Special/Pow_int.hs b/lib/Numeric/GSL/Special/Pow_int.hs
index 384dfc4..f30dfb9 100644
--- a/lib/Numeric/GSL/Special/Pow_int.hs
+++ b/lib/Numeric/GSL/Special/Pow_int.hs
@@ -20,18 +20,19 @@ module Numeric.GSL.Special.Pow_int(
20) where 20) where
21 21
22import Foreign(Ptr) 22import Foreign(Ptr)
23import Foreign.C.Types(CInt)
23import Numeric.GSL.Special.Internal 24import Numeric.GSL.Special.Internal
24 25
25-- | wrapper for int gsl_sf_pow_int_e(double x,int n,gsl_sf_result* result); 26-- | wrapper for int gsl_sf_pow_int_e(double x,int n,gsl_sf_result* result);
26-- 27--
27-- <http://www.google.com/search?q=gsl_sf_pow_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 28-- <http://www.google.com/search?q=gsl_sf_pow_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
28pow_int_e :: Double -> Int -> (Double,Double) 29pow_int_e :: Double -> CInt -> (Double,Double)
29pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n 30pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n
30foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> Int -> Ptr Double -> IO(Int) 31foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> CInt -> Ptr () -> IO CInt
31 32
32-- | wrapper for double gsl_sf_pow_int(double x,int n); 33-- | wrapper for double gsl_sf_pow_int(double x,int n);
33-- 34--
34-- <http://www.google.com/search?q=gsl_sf_pow_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 35-- <http://www.google.com/search?q=gsl_sf_pow_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
35pow_int :: Double -> Int -> Double 36pow_int :: Double -> CInt -> Double
36pow_int = gsl_sf_pow_int 37pow_int = gsl_sf_pow_int
37foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double 38foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> CInt -> Double