diff options
author | Alberto Ruiz <aruiz@um.es> | 2007-09-13 10:27:17 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2007-09-13 10:27:17 +0000 |
commit | 620d5008ea9a931a91907cd0c902bb64f005121f (patch) | |
tree | 7dd55acefdc49cbe1513fb0b1fbf60f954d3d364 /lib/GSL/Special/Zeta.hs | |
parent | 0ff13d993b880739295de343bca62f06fac5ca0c (diff) |
automatic google search in the docs for the special functions
Diffstat (limited to 'lib/GSL/Special/Zeta.hs')
-rw-r--r-- | lib/GSL/Special/Zeta.hs | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/lib/GSL/Special/Zeta.hs b/lib/GSL/Special/Zeta.hs index 6eff537..01cfdac 100644 --- a/lib/GSL/Special/Zeta.hs +++ b/lib/GSL/Special/Zeta.hs | |||
@@ -9,7 +9,7 @@ Portability : uses ffi | |||
9 | 9 | ||
10 | Wrappers for selected functions described at: | 10 | Wrappers for selected functions described at: |
11 | 11 | ||
12 | <http://www.gnu.org/software/gsl/manual/html_node/Zeta-Functions.html> | 12 | <http://www.google.com/search?q=gsl_sf_zeta.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | 13 | ||
14 | -} | 14 | -} |
15 | ------------------------------------------------------------ | 15 | ------------------------------------------------------------ |
@@ -35,71 +35,99 @@ import Foreign(Ptr) | |||
35 | import GSL.Special.Internal | 35 | import GSL.Special.Internal |
36 | 36 | ||
37 | -- | wrapper for int gsl_sf_zeta_int_e(int n,gsl_sf_result* result); | 37 | -- | wrapper for int gsl_sf_zeta_int_e(int n,gsl_sf_result* result); |
38 | -- | ||
39 | -- <http://www.google.com/search?q=gsl_sf_zeta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
38 | zeta_int_e :: Int -> (Double,Double) | 40 | zeta_int_e :: Int -> (Double,Double) |
39 | zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n | 41 | zeta_int_e n = createSFR "zeta_int_e" $ gsl_sf_zeta_int_e n |
40 | foreign import ccall "zeta.h gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: Int -> Ptr Double -> IO(Int) | 42 | foreign import ccall "zeta.h gsl_sf_zeta_int_e" gsl_sf_zeta_int_e :: Int -> Ptr Double -> IO(Int) |
41 | 43 | ||
42 | -- | wrapper for double gsl_sf_zeta_int(int n); | 44 | -- | wrapper for double gsl_sf_zeta_int(int n); |
45 | -- | ||
46 | -- <http://www.google.com/search?q=gsl_sf_zeta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
43 | zeta_int :: Int -> Double | 47 | zeta_int :: Int -> Double |
44 | zeta_int = gsl_sf_zeta_int | 48 | zeta_int = gsl_sf_zeta_int |
45 | foreign import ccall "zeta.h gsl_sf_zeta_int" gsl_sf_zeta_int :: Int -> Double | 49 | foreign import ccall "zeta.h gsl_sf_zeta_int" gsl_sf_zeta_int :: Int -> Double |
46 | 50 | ||
47 | -- | wrapper for int gsl_sf_zeta_e(double s,gsl_sf_result* result); | 51 | -- | wrapper for int gsl_sf_zeta_e(double s,gsl_sf_result* result); |
52 | -- | ||
53 | -- <http://www.google.com/search?q=gsl_sf_zeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
48 | zeta_e :: Double -> (Double,Double) | 54 | zeta_e :: Double -> (Double,Double) |
49 | zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s | 55 | zeta_e s = createSFR "zeta_e" $ gsl_sf_zeta_e s |
50 | foreign import ccall "zeta.h gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr Double -> IO(Int) | 56 | foreign import ccall "zeta.h gsl_sf_zeta_e" gsl_sf_zeta_e :: Double -> Ptr Double -> IO(Int) |
51 | 57 | ||
52 | -- | wrapper for double gsl_sf_zeta(double s); | 58 | -- | wrapper for double gsl_sf_zeta(double s); |
59 | -- | ||
60 | -- <http://www.google.com/search?q=gsl_sf_zeta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
53 | zeta :: Double -> Double | 61 | zeta :: Double -> Double |
54 | zeta = gsl_sf_zeta | 62 | zeta = gsl_sf_zeta |
55 | foreign import ccall "zeta.h gsl_sf_zeta" gsl_sf_zeta :: Double -> Double | 63 | foreign import ccall "zeta.h gsl_sf_zeta" gsl_sf_zeta :: Double -> Double |
56 | 64 | ||
57 | -- | wrapper for int gsl_sf_zetam1_e(double s,gsl_sf_result* result); | 65 | -- | wrapper for int gsl_sf_zetam1_e(double s,gsl_sf_result* result); |
66 | -- | ||
67 | -- <http://www.google.com/search?q=gsl_sf_zetam1_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
58 | zetam1_e :: Double -> (Double,Double) | 68 | zetam1_e :: Double -> (Double,Double) |
59 | zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s | 69 | zetam1_e s = createSFR "zetam1_e" $ gsl_sf_zetam1_e s |
60 | foreign import ccall "zeta.h gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr Double -> IO(Int) | 70 | foreign import ccall "zeta.h gsl_sf_zetam1_e" gsl_sf_zetam1_e :: Double -> Ptr Double -> IO(Int) |
61 | 71 | ||
62 | -- | wrapper for double gsl_sf_zetam1(double s); | 72 | -- | wrapper for double gsl_sf_zetam1(double s); |
73 | -- | ||
74 | -- <http://www.google.com/search?q=gsl_sf_zetam1&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
63 | zetam1 :: Double -> Double | 75 | zetam1 :: Double -> Double |
64 | zetam1 = gsl_sf_zetam1 | 76 | zetam1 = gsl_sf_zetam1 |
65 | foreign import ccall "zeta.h gsl_sf_zetam1" gsl_sf_zetam1 :: Double -> Double | 77 | foreign import ccall "zeta.h gsl_sf_zetam1" gsl_sf_zetam1 :: Double -> Double |
66 | 78 | ||
67 | -- | wrapper for int gsl_sf_zetam1_int_e(int s,gsl_sf_result* result); | 79 | -- | wrapper for int gsl_sf_zetam1_int_e(int s,gsl_sf_result* result); |
80 | -- | ||
81 | -- <http://www.google.com/search?q=gsl_sf_zetam1_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
68 | zetam1_int_e :: Int -> (Double,Double) | 82 | zetam1_int_e :: Int -> (Double,Double) |
69 | zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s | 83 | zetam1_int_e s = createSFR "zetam1_int_e" $ gsl_sf_zetam1_int_e s |
70 | foreign import ccall "zeta.h gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: Int -> Ptr Double -> IO(Int) | 84 | foreign import ccall "zeta.h gsl_sf_zetam1_int_e" gsl_sf_zetam1_int_e :: Int -> Ptr Double -> IO(Int) |
71 | 85 | ||
72 | -- | wrapper for double gsl_sf_zetam1_int(int s); | 86 | -- | wrapper for double gsl_sf_zetam1_int(int s); |
87 | -- | ||
88 | -- <http://www.google.com/search?q=gsl_sf_zetam1_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
73 | zetam1_int :: Int -> Double | 89 | zetam1_int :: Int -> Double |
74 | zetam1_int = gsl_sf_zetam1_int | 90 | zetam1_int = gsl_sf_zetam1_int |
75 | foreign import ccall "zeta.h gsl_sf_zetam1_int" gsl_sf_zetam1_int :: Int -> Double | 91 | foreign import ccall "zeta.h gsl_sf_zetam1_int" gsl_sf_zetam1_int :: Int -> Double |
76 | 92 | ||
77 | -- | wrapper for int gsl_sf_hzeta_e(double s,double q,gsl_sf_result* result); | 93 | -- | wrapper for int gsl_sf_hzeta_e(double s,double q,gsl_sf_result* result); |
94 | -- | ||
95 | -- <http://www.google.com/search?q=gsl_sf_hzeta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
78 | hzeta_e :: Double -> Double -> (Double,Double) | 96 | hzeta_e :: Double -> Double -> (Double,Double) |
79 | hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q | 97 | hzeta_e s q = createSFR "hzeta_e" $ gsl_sf_hzeta_e s q |
80 | foreign import ccall "zeta.h gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr Double -> IO(Int) | 98 | foreign import ccall "zeta.h gsl_sf_hzeta_e" gsl_sf_hzeta_e :: Double -> Double -> Ptr Double -> IO(Int) |
81 | 99 | ||
82 | -- | wrapper for double gsl_sf_hzeta(double s,double q); | 100 | -- | wrapper for double gsl_sf_hzeta(double s,double q); |
101 | -- | ||
102 | -- <http://www.google.com/search?q=gsl_sf_hzeta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
83 | hzeta :: Double -> Double -> Double | 103 | hzeta :: Double -> Double -> Double |
84 | hzeta = gsl_sf_hzeta | 104 | hzeta = gsl_sf_hzeta |
85 | foreign import ccall "zeta.h gsl_sf_hzeta" gsl_sf_hzeta :: Double -> Double -> Double | 105 | foreign import ccall "zeta.h gsl_sf_hzeta" gsl_sf_hzeta :: Double -> Double -> Double |
86 | 106 | ||
87 | -- | wrapper for int gsl_sf_eta_int_e(int n,gsl_sf_result* result); | 107 | -- | wrapper for int gsl_sf_eta_int_e(int n,gsl_sf_result* result); |
108 | -- | ||
109 | -- <http://www.google.com/search?q=gsl_sf_eta_int_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
88 | eta_int_e :: Int -> (Double,Double) | 110 | eta_int_e :: Int -> (Double,Double) |
89 | eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n | 111 | eta_int_e n = createSFR "eta_int_e" $ gsl_sf_eta_int_e n |
90 | foreign import ccall "zeta.h gsl_sf_eta_int_e" gsl_sf_eta_int_e :: Int -> Ptr Double -> IO(Int) | 112 | foreign import ccall "zeta.h gsl_sf_eta_int_e" gsl_sf_eta_int_e :: Int -> Ptr Double -> IO(Int) |
91 | 113 | ||
92 | -- | wrapper for double gsl_sf_eta_int(int n); | 114 | -- | wrapper for double gsl_sf_eta_int(int n); |
115 | -- | ||
116 | -- <http://www.google.com/search?q=gsl_sf_eta_int&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
93 | eta_int :: Int -> Double | 117 | eta_int :: Int -> Double |
94 | eta_int = gsl_sf_eta_int | 118 | eta_int = gsl_sf_eta_int |
95 | foreign import ccall "zeta.h gsl_sf_eta_int" gsl_sf_eta_int :: Int -> Double | 119 | foreign import ccall "zeta.h gsl_sf_eta_int" gsl_sf_eta_int :: Int -> Double |
96 | 120 | ||
97 | -- | wrapper for int gsl_sf_eta_e(double s,gsl_sf_result* result); | 121 | -- | wrapper for int gsl_sf_eta_e(double s,gsl_sf_result* result); |
122 | -- | ||
123 | -- <http://www.google.com/search?q=gsl_sf_eta_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
98 | eta_e :: Double -> (Double,Double) | 124 | eta_e :: Double -> (Double,Double) |
99 | eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s | 125 | eta_e s = createSFR "eta_e" $ gsl_sf_eta_e s |
100 | foreign import ccall "zeta.h gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr Double -> IO(Int) | 126 | foreign import ccall "zeta.h gsl_sf_eta_e" gsl_sf_eta_e :: Double -> Ptr Double -> IO(Int) |
101 | 127 | ||
102 | -- | wrapper for double gsl_sf_eta(double s); | 128 | -- | wrapper for double gsl_sf_eta(double s); |
129 | -- | ||
130 | -- <http://www.google.com/search?q=gsl_sf_eta&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
103 | eta :: Double -> Double | 131 | eta :: Double -> Double |
104 | eta = gsl_sf_eta | 132 | eta = gsl_sf_eta |
105 | foreign import ccall "zeta.h gsl_sf_eta" gsl_sf_eta :: Double -> Double | 133 | foreign import ccall "zeta.h gsl_sf_eta" gsl_sf_eta :: Double -> Double |