diff options
author | Alberto Ruiz <aruiz@um.es> | 2008-01-21 21:40:07 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2008-01-21 21:40:07 +0000 |
commit | 17749900a9146ddf6cd8ebf59dc35e56d6bff413 (patch) | |
tree | d352b7b155ebf650cd41a134aeb39450e54163b2 /lib/Numeric/GSL/Special/Trig.hs | |
parent | 4fb0006a2227d3d5293a53b88ef67ce6ebd73440 (diff) |
IO CInt results
Diffstat (limited to 'lib/Numeric/GSL/Special/Trig.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Trig.hs | 101 |
1 files changed, 76 insertions, 25 deletions
diff --git a/lib/Numeric/GSL/Special/Trig.hs b/lib/Numeric/GSL/Special/Trig.hs index b846c1d..98c2c84 100644 --- a/lib/Numeric/GSL/Special/Trig.hs +++ b/lib/Numeric/GSL/Special/Trig.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/Trigonometric-Functions.html> | 12 | <http://www.google.com/search?q=gsl_sf_trig.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> |
13 | 13 | ||
14 | -} | 14 | -} |
15 | ------------------------------------------------------------ | 15 | ------------------------------------------------------------ |
@@ -36,129 +36,180 @@ module Numeric.GSL.Special.Trig( | |||
36 | ) where | 36 | ) where |
37 | 37 | ||
38 | import Foreign(Ptr) | 38 | import Foreign(Ptr) |
39 | import Foreign.C.Types(CInt) | ||
39 | import Numeric.GSL.Special.Internal | 40 | import Numeric.GSL.Special.Internal |
40 | 41 | ||
41 | -- | wrapper for int gsl_sf_sin_e(double x,gsl_sf_result* result); | 42 | -- | wrapper for int gsl_sf_sin_e(double x,gsl_sf_result* result); |
43 | -- | ||
44 | -- <http://www.google.com/search?q=gsl_sf_sin_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
42 | sin_e :: Double -> (Double,Double) | 45 | sin_e :: Double -> (Double,Double) |
43 | sin_e x = createSFR "sin_e" $ gsl_sf_sin_e x | 46 | sin_e x = createSFR "sin_e" $ gsl_sf_sin_e x |
44 | foreign import ccall "trig.h gsl_sf_sin_e" gsl_sf_sin_e :: Double -> Ptr Double -> IO(Int) | 47 | foreign import ccall "trig.h gsl_sf_sin_e" gsl_sf_sin_e :: Double -> Ptr () -> IO CInt |
45 | 48 | ||
46 | -- | wrapper for double gsl_sf_sin(double x); | 49 | -- | wrapper for double gsl_sf_sin(double x); |
50 | -- | ||
51 | -- <http://www.google.com/search?q=gsl_sf_sin&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
47 | sin :: Double -> Double | 52 | sin :: Double -> Double |
48 | sin = gsl_sf_sin | 53 | sin = gsl_sf_sin |
49 | foreign import ccall "trig.h gsl_sf_sin" gsl_sf_sin :: Double -> Double | 54 | foreign import ccall "trig.h gsl_sf_sin" gsl_sf_sin :: Double -> Double |
50 | 55 | ||
51 | -- | wrapper for int gsl_sf_cos_e(double x,gsl_sf_result* result); | 56 | -- | wrapper for int gsl_sf_cos_e(double x,gsl_sf_result* result); |
57 | -- | ||
58 | -- <http://www.google.com/search?q=gsl_sf_cos_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
52 | cos_e :: Double -> (Double,Double) | 59 | cos_e :: Double -> (Double,Double) |
53 | cos_e x = createSFR "cos_e" $ gsl_sf_cos_e x | 60 | cos_e x = createSFR "cos_e" $ gsl_sf_cos_e x |
54 | foreign import ccall "trig.h gsl_sf_cos_e" gsl_sf_cos_e :: Double -> Ptr Double -> IO(Int) | 61 | foreign import ccall "trig.h gsl_sf_cos_e" gsl_sf_cos_e :: Double -> Ptr () -> IO CInt |
55 | 62 | ||
56 | -- | wrapper for double gsl_sf_cos(double x); | 63 | -- | wrapper for double gsl_sf_cos(double x); |
64 | -- | ||
65 | -- <http://www.google.com/search?q=gsl_sf_cos&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
57 | cos :: Double -> Double | 66 | cos :: Double -> Double |
58 | cos = gsl_sf_cos | 67 | cos = gsl_sf_cos |
59 | foreign import ccall "trig.h gsl_sf_cos" gsl_sf_cos :: Double -> Double | 68 | foreign import ccall "trig.h gsl_sf_cos" gsl_sf_cos :: Double -> Double |
60 | 69 | ||
61 | -- | wrapper for int gsl_sf_hypot_e(double x,double y,gsl_sf_result* result); | 70 | -- | wrapper for int gsl_sf_hypot_e(double x,double y,gsl_sf_result* result); |
71 | -- | ||
72 | -- <http://www.google.com/search?q=gsl_sf_hypot_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
62 | hypot_e :: Double -> Double -> (Double,Double) | 73 | hypot_e :: Double -> Double -> (Double,Double) |
63 | hypot_e x y = createSFR "hypot_e" $ gsl_sf_hypot_e x y | 74 | hypot_e x y = createSFR "hypot_e" $ gsl_sf_hypot_e x y |
64 | foreign import ccall "trig.h gsl_sf_hypot_e" gsl_sf_hypot_e :: Double -> Double -> Ptr Double -> IO(Int) | 75 | foreign import ccall "trig.h gsl_sf_hypot_e" gsl_sf_hypot_e :: Double -> Double -> Ptr () -> IO CInt |
65 | 76 | ||
66 | -- | wrapper for double gsl_sf_hypot(double x,double y); | 77 | -- | wrapper for double gsl_sf_hypot(double x,double y); |
78 | -- | ||
79 | -- <http://www.google.com/search?q=gsl_sf_hypot&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
67 | hypot :: Double -> Double -> Double | 80 | hypot :: Double -> Double -> Double |
68 | hypot = gsl_sf_hypot | 81 | hypot = gsl_sf_hypot |
69 | foreign import ccall "trig.h gsl_sf_hypot" gsl_sf_hypot :: Double -> Double -> Double | 82 | foreign import ccall "trig.h gsl_sf_hypot" gsl_sf_hypot :: Double -> Double -> Double |
70 | 83 | ||
71 | -- | wrapper for int gsl_sf_complex_sin_e(double zr,double zi,gsl_sf_result* szr,gsl_sf_result* szi); | 84 | -- | wrapper for int gsl_sf_complex_sin_e(double zr,double zi,gsl_sf_result* szr,gsl_sf_result* szi); |
72 | complex_sin_e :: Double -> Double -> Ptr Double -> (Double,Double) | 85 | -- |
86 | -- <http://www.google.com/search?q=gsl_sf_complex_sin_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
87 | complex_sin_e :: Double -> Double -> Ptr () -> (Double,Double) | ||
73 | complex_sin_e zr zi szr = createSFR "complex_sin_e" $ gsl_sf_complex_sin_e zr zi szr | 88 | complex_sin_e zr zi szr = createSFR "complex_sin_e" $ gsl_sf_complex_sin_e zr zi szr |
74 | foreign import ccall "trig.h gsl_sf_complex_sin_e" gsl_sf_complex_sin_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | 89 | foreign import ccall "trig.h gsl_sf_complex_sin_e" gsl_sf_complex_sin_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
75 | 90 | ||
76 | -- | wrapper for int gsl_sf_complex_cos_e(double zr,double zi,gsl_sf_result* czr,gsl_sf_result* czi); | 91 | -- | wrapper for int gsl_sf_complex_cos_e(double zr,double zi,gsl_sf_result* czr,gsl_sf_result* czi); |
77 | complex_cos_e :: Double -> Double -> Ptr Double -> (Double,Double) | 92 | -- |
93 | -- <http://www.google.com/search?q=gsl_sf_complex_cos_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
94 | complex_cos_e :: Double -> Double -> Ptr () -> (Double,Double) | ||
78 | complex_cos_e zr zi czr = createSFR "complex_cos_e" $ gsl_sf_complex_cos_e zr zi czr | 95 | complex_cos_e zr zi czr = createSFR "complex_cos_e" $ gsl_sf_complex_cos_e zr zi czr |
79 | foreign import ccall "trig.h gsl_sf_complex_cos_e" gsl_sf_complex_cos_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | 96 | foreign import ccall "trig.h gsl_sf_complex_cos_e" gsl_sf_complex_cos_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
80 | 97 | ||
81 | -- | wrapper for int gsl_sf_complex_logsin_e(double zr,double zi,gsl_sf_result* lszr,gsl_sf_result* lszi); | 98 | -- | wrapper for int gsl_sf_complex_logsin_e(double zr,double zi,gsl_sf_result* lszr,gsl_sf_result* lszi); |
82 | complex_logsin_e :: Double -> Double -> Ptr Double -> (Double,Double) | 99 | -- |
100 | -- <http://www.google.com/search?q=gsl_sf_complex_logsin_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
101 | complex_logsin_e :: Double -> Double -> Ptr () -> (Double,Double) | ||
83 | complex_logsin_e zr zi lszr = createSFR "complex_logsin_e" $ gsl_sf_complex_logsin_e zr zi lszr | 102 | complex_logsin_e zr zi lszr = createSFR "complex_logsin_e" $ gsl_sf_complex_logsin_e zr zi lszr |
84 | foreign import ccall "trig.h gsl_sf_complex_logsin_e" gsl_sf_complex_logsin_e :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | 103 | foreign import ccall "trig.h gsl_sf_complex_logsin_e" gsl_sf_complex_logsin_e :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
85 | 104 | ||
86 | -- | wrapper for int gsl_sf_sinc_e(double x,gsl_sf_result* result); | 105 | -- | wrapper for int gsl_sf_sinc_e(double x,gsl_sf_result* result); |
106 | -- | ||
107 | -- <http://www.google.com/search?q=gsl_sf_sinc_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
87 | sinc_e :: Double -> (Double,Double) | 108 | sinc_e :: Double -> (Double,Double) |
88 | sinc_e x = createSFR "sinc_e" $ gsl_sf_sinc_e x | 109 | sinc_e x = createSFR "sinc_e" $ gsl_sf_sinc_e x |
89 | foreign import ccall "trig.h gsl_sf_sinc_e" gsl_sf_sinc_e :: Double -> Ptr Double -> IO(Int) | 110 | foreign import ccall "trig.h gsl_sf_sinc_e" gsl_sf_sinc_e :: Double -> Ptr () -> IO CInt |
90 | 111 | ||
91 | -- | wrapper for double gsl_sf_sinc(double x); | 112 | -- | wrapper for double gsl_sf_sinc(double x); |
113 | -- | ||
114 | -- <http://www.google.com/search?q=gsl_sf_sinc&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
92 | sinc :: Double -> Double | 115 | sinc :: Double -> Double |
93 | sinc = gsl_sf_sinc | 116 | sinc = gsl_sf_sinc |
94 | foreign import ccall "trig.h gsl_sf_sinc" gsl_sf_sinc :: Double -> Double | 117 | foreign import ccall "trig.h gsl_sf_sinc" gsl_sf_sinc :: Double -> Double |
95 | 118 | ||
96 | -- | wrapper for int gsl_sf_lnsinh_e(double x,gsl_sf_result* result); | 119 | -- | wrapper for int gsl_sf_lnsinh_e(double x,gsl_sf_result* result); |
120 | -- | ||
121 | -- <http://www.google.com/search?q=gsl_sf_lnsinh_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
97 | lnsinh_e :: Double -> (Double,Double) | 122 | lnsinh_e :: Double -> (Double,Double) |
98 | lnsinh_e x = createSFR "lnsinh_e" $ gsl_sf_lnsinh_e x | 123 | lnsinh_e x = createSFR "lnsinh_e" $ gsl_sf_lnsinh_e x |
99 | foreign import ccall "trig.h gsl_sf_lnsinh_e" gsl_sf_lnsinh_e :: Double -> Ptr Double -> IO(Int) | 124 | foreign import ccall "trig.h gsl_sf_lnsinh_e" gsl_sf_lnsinh_e :: Double -> Ptr () -> IO CInt |
100 | 125 | ||
101 | -- | wrapper for double gsl_sf_lnsinh(double x); | 126 | -- | wrapper for double gsl_sf_lnsinh(double x); |
127 | -- | ||
128 | -- <http://www.google.com/search?q=gsl_sf_lnsinh&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
102 | lnsinh :: Double -> Double | 129 | lnsinh :: Double -> Double |
103 | lnsinh = gsl_sf_lnsinh | 130 | lnsinh = gsl_sf_lnsinh |
104 | foreign import ccall "trig.h gsl_sf_lnsinh" gsl_sf_lnsinh :: Double -> Double | 131 | foreign import ccall "trig.h gsl_sf_lnsinh" gsl_sf_lnsinh :: Double -> Double |
105 | 132 | ||
106 | -- | wrapper for int gsl_sf_lncosh_e(double x,gsl_sf_result* result); | 133 | -- | wrapper for int gsl_sf_lncosh_e(double x,gsl_sf_result* result); |
134 | -- | ||
135 | -- <http://www.google.com/search?q=gsl_sf_lncosh_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
107 | lncosh_e :: Double -> (Double,Double) | 136 | lncosh_e :: Double -> (Double,Double) |
108 | lncosh_e x = createSFR "lncosh_e" $ gsl_sf_lncosh_e x | 137 | lncosh_e x = createSFR "lncosh_e" $ gsl_sf_lncosh_e x |
109 | foreign import ccall "trig.h gsl_sf_lncosh_e" gsl_sf_lncosh_e :: Double -> Ptr Double -> IO(Int) | 138 | foreign import ccall "trig.h gsl_sf_lncosh_e" gsl_sf_lncosh_e :: Double -> Ptr () -> IO CInt |
110 | 139 | ||
111 | -- | wrapper for double gsl_sf_lncosh(double x); | 140 | -- | wrapper for double gsl_sf_lncosh(double x); |
141 | -- | ||
142 | -- <http://www.google.com/search?q=gsl_sf_lncosh&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
112 | lncosh :: Double -> Double | 143 | lncosh :: Double -> Double |
113 | lncosh = gsl_sf_lncosh | 144 | lncosh = gsl_sf_lncosh |
114 | foreign import ccall "trig.h gsl_sf_lncosh" gsl_sf_lncosh :: Double -> Double | 145 | foreign import ccall "trig.h gsl_sf_lncosh" gsl_sf_lncosh :: Double -> Double |
115 | 146 | ||
116 | -- | wrapper for int gsl_sf_polar_to_rect(double r,double theta,gsl_sf_result* x,gsl_sf_result* y); | 147 | -- | wrapper for int gsl_sf_polar_to_rect(double r,double theta,gsl_sf_result* x,gsl_sf_result* y); |
117 | polar_to_rect :: Double -> Double -> Ptr Double -> (Double,Double) | 148 | -- |
149 | -- <http://www.google.com/search?q=gsl_sf_polar_to_rect&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
150 | polar_to_rect :: Double -> Double -> Ptr () -> (Double,Double) | ||
118 | polar_to_rect r theta x = createSFR "polar_to_rect" $ gsl_sf_polar_to_rect r theta x | 151 | polar_to_rect r theta x = createSFR "polar_to_rect" $ gsl_sf_polar_to_rect r theta x |
119 | foreign import ccall "trig.h gsl_sf_polar_to_rect" gsl_sf_polar_to_rect :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | 152 | foreign import ccall "trig.h gsl_sf_polar_to_rect" gsl_sf_polar_to_rect :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
120 | 153 | ||
121 | -- | wrapper for int gsl_sf_rect_to_polar(double x,double y,gsl_sf_result* r,gsl_sf_result* theta); | 154 | -- | wrapper for int gsl_sf_rect_to_polar(double x,double y,gsl_sf_result* r,gsl_sf_result* theta); |
122 | rect_to_polar :: Double -> Double -> Ptr Double -> (Double,Double) | 155 | -- |
156 | -- <http://www.google.com/search?q=gsl_sf_rect_to_polar&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
157 | rect_to_polar :: Double -> Double -> Ptr () -> (Double,Double) | ||
123 | rect_to_polar x y r = createSFR "rect_to_polar" $ gsl_sf_rect_to_polar x y r | 158 | rect_to_polar x y r = createSFR "rect_to_polar" $ gsl_sf_rect_to_polar x y r |
124 | foreign import ccall "trig.h gsl_sf_rect_to_polar" gsl_sf_rect_to_polar :: Double -> Double -> Ptr Double -> Ptr Double -> IO(Int) | 159 | foreign import ccall "trig.h gsl_sf_rect_to_polar" gsl_sf_rect_to_polar :: Double -> Double -> Ptr () -> Ptr () -> IO CInt |
125 | 160 | ||
126 | -- | wrapper for int gsl_sf_sin_err_e(double x,double dx,gsl_sf_result* result); | 161 | -- | wrapper for int gsl_sf_sin_err_e(double x,double dx,gsl_sf_result* result); |
162 | -- | ||
163 | -- <http://www.google.com/search?q=gsl_sf_sin_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
127 | sin_err_e :: Double -> Double -> (Double,Double) | 164 | sin_err_e :: Double -> Double -> (Double,Double) |
128 | sin_err_e x dx = createSFR "sin_err_e" $ gsl_sf_sin_err_e x dx | 165 | sin_err_e x dx = createSFR "sin_err_e" $ gsl_sf_sin_err_e x dx |
129 | foreign import ccall "trig.h gsl_sf_sin_err_e" gsl_sf_sin_err_e :: Double -> Double -> Ptr Double -> IO(Int) | 166 | foreign import ccall "trig.h gsl_sf_sin_err_e" gsl_sf_sin_err_e :: Double -> Double -> Ptr () -> IO CInt |
130 | 167 | ||
131 | -- | wrapper for int gsl_sf_cos_err_e(double x,double dx,gsl_sf_result* result); | 168 | -- | wrapper for int gsl_sf_cos_err_e(double x,double dx,gsl_sf_result* result); |
169 | -- | ||
170 | -- <http://www.google.com/search?q=gsl_sf_cos_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
132 | cos_err_e :: Double -> Double -> (Double,Double) | 171 | cos_err_e :: Double -> Double -> (Double,Double) |
133 | cos_err_e x dx = createSFR "cos_err_e" $ gsl_sf_cos_err_e x dx | 172 | cos_err_e x dx = createSFR "cos_err_e" $ gsl_sf_cos_err_e x dx |
134 | foreign import ccall "trig.h gsl_sf_cos_err_e" gsl_sf_cos_err_e :: Double -> Double -> Ptr Double -> IO(Int) | 173 | foreign import ccall "trig.h gsl_sf_cos_err_e" gsl_sf_cos_err_e :: Double -> Double -> Ptr () -> IO CInt |
135 | 174 | ||
136 | -- | wrapper for int gsl_sf_angle_restrict_symm_e(double* theta); | 175 | -- | wrapper for int gsl_sf_angle_restrict_symm_e(double* theta); |
137 | angle_restrict_symm_e :: Ptr Double -> Int | 176 | -- |
177 | -- <http://www.google.com/search?q=gsl_sf_angle_restrict_symm_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
178 | angle_restrict_symm_e :: Ptr Double -> CInt | ||
138 | angle_restrict_symm_e = gsl_sf_angle_restrict_symm_e | 179 | angle_restrict_symm_e = gsl_sf_angle_restrict_symm_e |
139 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm_e" gsl_sf_angle_restrict_symm_e :: Ptr Double -> Int | 180 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm_e" gsl_sf_angle_restrict_symm_e :: Ptr Double -> CInt |
140 | 181 | ||
141 | -- | wrapper for double gsl_sf_angle_restrict_symm(double theta); | 182 | -- | wrapper for double gsl_sf_angle_restrict_symm(double theta); |
183 | -- | ||
184 | -- <http://www.google.com/search?q=gsl_sf_angle_restrict_symm&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
142 | angle_restrict_symm :: Double -> Double | 185 | angle_restrict_symm :: Double -> Double |
143 | angle_restrict_symm = gsl_sf_angle_restrict_symm | 186 | angle_restrict_symm = gsl_sf_angle_restrict_symm |
144 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm" gsl_sf_angle_restrict_symm :: Double -> Double | 187 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm" gsl_sf_angle_restrict_symm :: Double -> Double |
145 | 188 | ||
146 | -- | wrapper for int gsl_sf_angle_restrict_pos_e(double* theta); | 189 | -- | wrapper for int gsl_sf_angle_restrict_pos_e(double* theta); |
147 | angle_restrict_pos_e :: Ptr Double -> Int | 190 | -- |
191 | -- <http://www.google.com/search?q=gsl_sf_angle_restrict_pos_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
192 | angle_restrict_pos_e :: Ptr Double -> CInt | ||
148 | angle_restrict_pos_e = gsl_sf_angle_restrict_pos_e | 193 | angle_restrict_pos_e = gsl_sf_angle_restrict_pos_e |
149 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos_e" gsl_sf_angle_restrict_pos_e :: Ptr Double -> Int | 194 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos_e" gsl_sf_angle_restrict_pos_e :: Ptr Double -> CInt |
150 | 195 | ||
151 | -- | wrapper for double gsl_sf_angle_restrict_pos(double theta); | 196 | -- | wrapper for double gsl_sf_angle_restrict_pos(double theta); |
197 | -- | ||
198 | -- <http://www.google.com/search?q=gsl_sf_angle_restrict_pos&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
152 | angle_restrict_pos :: Double -> Double | 199 | angle_restrict_pos :: Double -> Double |
153 | angle_restrict_pos = gsl_sf_angle_restrict_pos | 200 | angle_restrict_pos = gsl_sf_angle_restrict_pos |
154 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos" gsl_sf_angle_restrict_pos :: Double -> Double | 201 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos" gsl_sf_angle_restrict_pos :: Double -> Double |
155 | 202 | ||
156 | -- | wrapper for int gsl_sf_angle_restrict_symm_err_e(double theta,gsl_sf_result* result); | 203 | -- | wrapper for int gsl_sf_angle_restrict_symm_err_e(double theta,gsl_sf_result* result); |
204 | -- | ||
205 | -- <http://www.google.com/search?q=gsl_sf_angle_restrict_symm_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
157 | angle_restrict_symm_err_e :: Double -> (Double,Double) | 206 | angle_restrict_symm_err_e :: Double -> (Double,Double) |
158 | angle_restrict_symm_err_e theta = createSFR "angle_restrict_symm_err_e" $ gsl_sf_angle_restrict_symm_err_e theta | 207 | angle_restrict_symm_err_e theta = createSFR "angle_restrict_symm_err_e" $ gsl_sf_angle_restrict_symm_err_e theta |
159 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm_err_e" gsl_sf_angle_restrict_symm_err_e :: Double -> Ptr Double -> IO(Int) | 208 | foreign import ccall "trig.h gsl_sf_angle_restrict_symm_err_e" gsl_sf_angle_restrict_symm_err_e :: Double -> Ptr () -> IO CInt |
160 | 209 | ||
161 | -- | wrapper for int gsl_sf_angle_restrict_pos_err_e(double theta,gsl_sf_result* result); | 210 | -- | wrapper for int gsl_sf_angle_restrict_pos_err_e(double theta,gsl_sf_result* result); |
211 | -- | ||
212 | -- <http://www.google.com/search?q=gsl_sf_angle_restrict_pos_err_e&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
162 | angle_restrict_pos_err_e :: Double -> (Double,Double) | 213 | angle_restrict_pos_err_e :: Double -> (Double,Double) |
163 | angle_restrict_pos_err_e theta = createSFR "angle_restrict_pos_err_e" $ gsl_sf_angle_restrict_pos_err_e theta | 214 | angle_restrict_pos_err_e theta = createSFR "angle_restrict_pos_err_e" $ gsl_sf_angle_restrict_pos_err_e theta |
164 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos_err_e" gsl_sf_angle_restrict_pos_err_e :: Double -> Ptr Double -> IO(Int) | 215 | foreign import ccall "trig.h gsl_sf_angle_restrict_pos_err_e" gsl_sf_angle_restrict_pos_err_e :: Double -> Ptr () -> IO CInt |