summaryrefslogtreecommitdiff
path: root/lib/GSL/Special/Clausen.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/GSL/Special/Clausen.hs')
-rw-r--r--lib/GSL/Special/Clausen.hs31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/GSL/Special/Clausen.hs b/lib/GSL/Special/Clausen.hs
new file mode 100644
index 0000000..9089499
--- /dev/null
+++ b/lib/GSL/Special/Clausen.hs
@@ -0,0 +1,31 @@
1------------------------------------------------------------
2{- |
3Module : GSL.Special.Clausen
4Copyright : (c) Alberto Ruiz 2006
5License : GPL-style
6Maintainer : Alberto Ruiz (aruiz at um dot es)
7Stability : provisional
8Portability : uses ffi
9
10
11
12-}
13------------------------------------------------------------
14
15module GSL.Special.Clausen(
16 clausen_e
17, clausen
18) where
19
20import Foreign(Ptr)
21import GSL.Special.Internal
22
23-- | wrapper for int gsl_sf_clausen_e(double x,gsl_sf_result* result);
24clausen_e :: Double -> (Double,Double)
25clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x
26foreign import ccall "clausen.h gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr Double -> IO(Int)
27
28-- | wrapper for double gsl_sf_clausen(double x);
29clausen :: Double -> Double
30clausen = gsl_sf_clausen
31foreign import ccall "clausen.h gsl_sf_clausen" gsl_sf_clausen :: Double -> Double