summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Clausen.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/GSL/Special/Clausen.hs')
-rw-r--r--lib/Numeric/GSL/Special/Clausen.hs37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/Numeric/GSL/Special/Clausen.hs b/lib/Numeric/GSL/Special/Clausen.hs
new file mode 100644
index 0000000..3052187
--- /dev/null
+++ b/lib/Numeric/GSL/Special/Clausen.hs
@@ -0,0 +1,37 @@
1------------------------------------------------------------
2{- |
3Module : Numeric.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
10Wrappers for selected functions described at:
11
12<http://www.google.com/search?q=gsl_sf_clausen.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
13
14-}
15------------------------------------------------------------
16
17module Numeric.GSL.Special.Clausen(
18 clausen_e
19, clausen
20) where
21
22import Foreign(Ptr)
23import Numeric.GSL.Special.Internal
24
25-- | wrapper for int gsl_sf_clausen_e(double x,gsl_sf_result* result);
26--
27-- <http://www.google.com/search?q=gsl_sf_clausen_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
28clausen_e :: Double -> (Double,Double)
29clausen_e x = createSFR "clausen_e" $ gsl_sf_clausen_e x
30foreign import ccall "clausen.h gsl_sf_clausen_e" gsl_sf_clausen_e :: Double -> Ptr Double -> IO(Int)
31
32-- | wrapper for double gsl_sf_clausen(double x);
33--
34-- <http://www.google.com/search?q=gsl_sf_clausen&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
35clausen :: Double -> Double
36clausen = gsl_sf_clausen
37foreign import ccall "clausen.h gsl_sf_clausen" gsl_sf_clausen :: Double -> Double