summaryrefslogtreecommitdiff
path: root/lib/Numeric/GSL/Special/Zeta.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/GSL/Special/Zeta.hs')
-rw-r--r--lib/Numeric/GSL/Special/Zeta.hs33
1 files changed, 17 insertions, 16 deletions
diff --git a/lib/Numeric/GSL/Special/Zeta.hs b/lib/Numeric/GSL/Special/Zeta.hs
index 48c8ff1..4970834 100644
--- a/lib/Numeric/GSL/Special/Zeta.hs
+++ b/lib/Numeric/GSL/Special/Zeta.hs
@@ -32,28 +32,29 @@ module Numeric.GSL.Special.Zeta(
32) where 32) where
33 33
34import Foreign(Ptr) 34import Foreign(Ptr)
35import Foreign.C.Types(CInt)
35import Numeric.GSL.Special.Internal 36import Numeric.GSL.Special.Internal
36 37
37-- | wrapper for int gsl_sf_zeta_int_e(int n,gsl_sf_result* result); 38-- | wrapper for int gsl_sf_zeta_int_e(int n,gsl_sf_result* result);
38-- 39--
39-- <http://www.google.com/search?q=gsl_sf_zeta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 40-- <http://www.google.com/search?q=gsl_sf_zeta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
40zeta_int_e :: Int -> (Double,Double) 41zeta_int_e :: CInt -> (Double,Double)
41zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n 42zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n
42foreign import ccall "zeta.h gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: Int -> Ptr Double -> IO(Int) 43foreign import ccall "zeta.h gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: CInt -> Ptr () -> IO CInt
43 44
44-- | wrapper for double gsl_sf_zeta_int(int n); 45-- | wrapper for double gsl_sf_zeta_int(int n);
45-- 46--
46-- <http://www.google.com/search?q=gsl_sf_zeta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 47-- <http://www.google.com/search?q=gsl_sf_zeta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
47zeta_int :: Int -> Double 48zeta_int :: CInt -> Double
48zeta_int = gsl_sf_zeta_int 49zeta_int = gsl_sf_zeta_int
49foreign import ccall "zeta.h gsl_sf_zeta_int" gsl_sf_zeta_int :: Int -> Double 50foreign import ccall "zeta.h gsl_sf_zeta_int" gsl_sf_zeta_int :: CInt -> Double
50 51
51-- | wrapper for int gsl_sf_zeta_e(double s,gsl_sf_result* result); 52-- | wrapper for int gsl_sf_zeta_e(double s,gsl_sf_result* result);
52-- 53--
53-- <http://www.google.com/search?q=gsl_sf_zeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 54-- <http://www.google.com/search?q=gsl_sf_zeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
54zeta_e :: Double -> (Double,Double) 55zeta_e :: Double -> (Double,Double)
55zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s 56zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s
56foreign import ccall "zeta.h gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr Double -> IO(Int) 57foreign import ccall "zeta.h gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr () -> IO CInt
57 58
58-- | wrapper for double gsl_sf_zeta(double s); 59-- | wrapper for double gsl_sf_zeta(double s);
59-- 60--
@@ -67,7 +68,7 @@ foreign import ccall "zeta.h gsl_sf_zeta" gsl_sf_zeta :: Double -> Double
67-- <http://www.google.com/search?q=gsl_sf_zetam1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 68-- <http://www.google.com/search?q=gsl_sf_zetam1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
68zetam1_e :: Double -> (Double,Double) 69zetam1_e :: Double -> (Double,Double)
69zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s 70zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s
70foreign import ccall "zeta.h gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr Double -> IO(Int) 71foreign import ccall "zeta.h gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr () -> IO CInt
71 72
72-- | wrapper for double gsl_sf_zetam1(double s); 73-- | wrapper for double gsl_sf_zetam1(double s);
73-- 74--
@@ -79,23 +80,23 @@ foreign import ccall "zeta.h gsl_sf_zetam1" gsl_sf_zetam1 :: Double -> Double
79-- | wrapper for int gsl_sf_zetam1_int_e(int s,gsl_sf_result* result); 80-- | wrapper for int gsl_sf_zetam1_int_e(int s,gsl_sf_result* result);
80-- 81--
81-- <http://www.google.com/search?q=gsl_sf_zetam1_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 82-- <http://www.google.com/search?q=gsl_sf_zetam1_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
82zetam1_int_e :: Int -> (Double,Double) 83zetam1_int_e :: CInt -> (Double,Double)
83zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s 84zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s
84foreign import ccall "zeta.h gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: Int -> Ptr Double -> IO(Int) 85foreign import ccall "zeta.h gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: CInt -> Ptr () -> IO CInt
85 86
86-- | wrapper for double gsl_sf_zetam1_int(int s); 87-- | wrapper for double gsl_sf_zetam1_int(int s);
87-- 88--
88-- <http://www.google.com/search?q=gsl_sf_zetam1_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 89-- <http://www.google.com/search?q=gsl_sf_zetam1_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
89zetam1_int :: Int -> Double 90zetam1_int :: CInt -> Double
90zetam1_int = gsl_sf_zetam1_int 91zetam1_int = gsl_sf_zetam1_int
91foreign import ccall "zeta.h gsl_sf_zetam1_int" gsl_sf_zetam1_int :: Int -> Double 92foreign import ccall "zeta.h gsl_sf_zetam1_int" gsl_sf_zetam1_int :: CInt -> Double
92 93
93-- | wrapper for int gsl_sf_hzeta_e(double s,double q,gsl_sf_result* result); 94-- | wrapper for int gsl_sf_hzeta_e(double s,double q,gsl_sf_result* result);
94-- 95--
95-- <http://www.google.com/search?q=gsl_sf_hzeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 96-- <http://www.google.com/search?q=gsl_sf_hzeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
96hzeta_e :: Double -> Double -> (Double,Double) 97hzeta_e :: Double -> Double -> (Double,Double)
97hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q 98hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q
98foreign import ccall "zeta.h gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr Double -> IO(Int) 99foreign import ccall "zeta.h gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr () -> IO CInt
99 100
100-- | wrapper for double gsl_sf_hzeta(double s,double q); 101-- | wrapper for double gsl_sf_hzeta(double s,double q);
101-- 102--
@@ -107,23 +108,23 @@ foreign import ccall "zeta.h gsl_sf_hzeta" gsl_sf_hzeta :: Double -> Double -> D
107-- | wrapper for int gsl_sf_eta_int_e(int n,gsl_sf_result* result); 108-- | wrapper for int gsl_sf_eta_int_e(int n,gsl_sf_result* result);
108-- 109--
109-- <http://www.google.com/search?q=gsl_sf_eta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 110-- <http://www.google.com/search?q=gsl_sf_eta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
110eta_int_e :: Int -> (Double,Double) 111eta_int_e :: CInt -> (Double,Double)
111eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n 112eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n
112foreign import ccall "zeta.h gsl_sf_eta_int_e" gsl_sf_eta_int_e :: Int -> Ptr Double -> IO(Int) 113foreign import ccall "zeta.h gsl_sf_eta_int_e" gsl_sf_eta_int_e :: CInt -> Ptr () -> IO CInt
113 114
114-- | wrapper for double gsl_sf_eta_int(int n); 115-- | wrapper for double gsl_sf_eta_int(int n);
115-- 116--
116-- <http://www.google.com/search?q=gsl_sf_eta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 117-- <http://www.google.com/search?q=gsl_sf_eta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
117eta_int :: Int -> Double 118eta_int :: CInt -> Double
118eta_int = gsl_sf_eta_int 119eta_int = gsl_sf_eta_int
119foreign import ccall "zeta.h gsl_sf_eta_int" gsl_sf_eta_int :: Int -> Double 120foreign import ccall "zeta.h gsl_sf_eta_int" gsl_sf_eta_int :: CInt -> Double
120 121
121-- | wrapper for int gsl_sf_eta_e(double s,gsl_sf_result* result); 122-- | wrapper for int gsl_sf_eta_e(double s,gsl_sf_result* result);
122-- 123--
123-- <http://www.google.com/search?q=gsl_sf_eta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> 124-- <http://www.google.com/search?q=gsl_sf_eta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky>
124eta_e :: Double -> (Double,Double) 125eta_e :: Double -> (Double,Double)
125eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s 126eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s
126foreign import ccall "zeta.h gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr Double -> IO(Int) 127foreign import ccall "zeta.h gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr () -> IO CInt
127 128
128-- | wrapper for double gsl_sf_eta(double s); 129-- | wrapper for double gsl_sf_eta(double s);
129-- 130--