diff options
Diffstat (limited to 'lib/GSL/Special/Pow_int.hs')
-rw-r--r-- | lib/GSL/Special/Pow_int.hs | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/lib/GSL/Special/Pow_int.hs b/lib/GSL/Special/Pow_int.hs deleted file mode 100644 index 4142c5b..0000000 --- a/lib/GSL/Special/Pow_int.hs +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | {- | | ||
3 | Module : GSL.Special.Pow_int | ||
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_pow_int.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | |||
14 | -} | ||
15 | ------------------------------------------------------------ | ||
16 | |||
17 | module GSL.Special.Pow_int( | ||
18 | pow_int_e | ||
19 | , pow_int | ||
20 | ) where | ||
21 | |||
22 | import Foreign(Ptr) | ||
23 | import GSL.Special.Internal | ||
24 | |||
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> | ||
28 | pow_int_e :: Double -> Int -> (Double,Double) | ||
29 | pow_int_e x n = createSFR "pow_int_e" $ gsl_sf_pow_int_e x n | ||
30 | foreign import ccall "pow_int.h gsl_sf_pow_int_e" gsl_sf_pow_int_e :: Double -> Int -> Ptr Double -> IO(Int) | ||
31 | |||
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> | ||
35 | pow_int :: Double -> Int -> Double | ||
36 | pow_int = gsl_sf_pow_int | ||
37 | foreign import ccall "pow_int.h gsl_sf_pow_int" gsl_sf_pow_int :: Double -> Int -> Double | ||