diff options
Diffstat (limited to 'lib/Numeric/GSL/Special/Ellint.hs')
-rw-r--r-- | lib/Numeric/GSL/Special/Ellint.hs | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/lib/Numeric/GSL/Special/Ellint.hs b/lib/Numeric/GSL/Special/Ellint.hs deleted file mode 100644 index 6735057..0000000 --- a/lib/Numeric/GSL/Special/Ellint.hs +++ /dev/null | |||
@@ -1,140 +0,0 @@ | |||
1 | ------------------------------------------------------------ | ||
2 | -- | | ||
3 | -- Module : Numeric.GSL.Special.Ellint | ||
4 | -- Copyright : (c) Alberto Ruiz 2006 | ||
5 | -- License : GPL | ||
6 | -- Maintainer : Alberto Ruiz (aruiz at um dot es) | ||
7 | -- Stability : provisional | ||
8 | -- Portability : uses ffi | ||
9 | -- | ||
10 | -- Wrappers for selected functions described at: | ||
11 | -- | ||
12 | -- <http://www.google.com/search?q=gsl_sf_ellint.h&as_sitesearch=www.gnu.org/software/gsl/manual&btnI=Lucky> | ||
13 | ------------------------------------------------------------ | ||
14 | |||
15 | module Numeric.GSL.Special.Ellint( | ||
16 | ellint_Kcomp_e | ||
17 | , ellint_Kcomp | ||
18 | , ellint_Ecomp_e | ||
19 | , ellint_Ecomp | ||
20 | , ellint_Pcomp_e | ||
21 | , ellint_Pcomp | ||
22 | , ellint_Dcomp_e | ||
23 | , ellint_Dcomp | ||
24 | , ellint_F_e | ||
25 | , ellint_F | ||
26 | , ellint_E_e | ||
27 | , ellint_E | ||
28 | , ellint_P_e | ||
29 | , ellint_P | ||
30 | , ellint_D_e | ||
31 | , ellint_D | ||
32 | , ellint_RC_e | ||
33 | , ellint_RC | ||
34 | , ellint_RD_e | ||
35 | , ellint_RD | ||
36 | , ellint_RF_e | ||
37 | , ellint_RF | ||
38 | , ellint_RJ_e | ||
39 | , ellint_RJ | ||
40 | ) where | ||
41 | |||
42 | import Foreign(Ptr) | ||
43 | import Foreign.C.Types(CInt) | ||
44 | import Numeric.GSL.Special.Internal | ||
45 | |||
46 | ellint_Kcomp_e :: Double -> Precision -> (Double,Double) | ||
47 | ellint_Kcomp_e k mode = createSFR "ellint_Kcomp_e" $ gsl_sf_ellint_Kcomp_e k (precCode mode) | ||
48 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Kcomp_e" gsl_sf_ellint_Kcomp_e :: Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
49 | |||
50 | ellint_Kcomp :: Double -> Precision -> Double | ||
51 | ellint_Kcomp k mode = gsl_sf_ellint_Kcomp k (precCode mode) | ||
52 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Kcomp" gsl_sf_ellint_Kcomp :: Double -> Gsl_mode_t -> Double | ||
53 | |||
54 | ellint_Ecomp_e :: Double -> Precision -> (Double,Double) | ||
55 | ellint_Ecomp_e k mode = createSFR "ellint_Ecomp_e" $ gsl_sf_ellint_Ecomp_e k (precCode mode) | ||
56 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Ecomp_e" gsl_sf_ellint_Ecomp_e :: Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
57 | |||
58 | ellint_Ecomp :: Double -> Precision -> Double | ||
59 | ellint_Ecomp k mode = gsl_sf_ellint_Ecomp k (precCode mode) | ||
60 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Ecomp" gsl_sf_ellint_Ecomp :: Double -> Gsl_mode_t -> Double | ||
61 | |||
62 | ellint_Pcomp_e :: Double -> Double -> Precision -> (Double,Double) | ||
63 | ellint_Pcomp_e k n mode = createSFR "ellint_Pcomp_e" $ gsl_sf_ellint_Pcomp_e k n (precCode mode) | ||
64 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Pcomp_e" gsl_sf_ellint_Pcomp_e :: Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
65 | |||
66 | ellint_Pcomp :: Double -> Double -> Precision -> Double | ||
67 | ellint_Pcomp k n mode = gsl_sf_ellint_Pcomp k n (precCode mode) | ||
68 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Pcomp" gsl_sf_ellint_Pcomp :: Double -> Double -> Gsl_mode_t -> Double | ||
69 | |||
70 | ellint_Dcomp_e :: Double -> Precision -> (Double,Double) | ||
71 | ellint_Dcomp_e k mode = createSFR "ellint_Dcomp_e" $ gsl_sf_ellint_Dcomp_e k (precCode mode) | ||
72 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Dcomp_e" gsl_sf_ellint_Dcomp_e :: Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
73 | |||
74 | ellint_Dcomp :: Double -> Precision -> Double | ||
75 | ellint_Dcomp k mode = gsl_sf_ellint_Dcomp k (precCode mode) | ||
76 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_Dcomp" gsl_sf_ellint_Dcomp :: Double -> Gsl_mode_t -> Double | ||
77 | |||
78 | ellint_F_e :: Double -> Double -> Precision -> (Double,Double) | ||
79 | ellint_F_e phi k mode = createSFR "ellint_F_e" $ gsl_sf_ellint_F_e phi k (precCode mode) | ||
80 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_F_e" gsl_sf_ellint_F_e :: Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
81 | |||
82 | ellint_F :: Double -> Double -> Precision -> Double | ||
83 | ellint_F phi k mode = gsl_sf_ellint_F phi k (precCode mode) | ||
84 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_F" gsl_sf_ellint_F :: Double -> Double -> Gsl_mode_t -> Double | ||
85 | |||
86 | ellint_E_e :: Double -> Double -> Precision -> (Double,Double) | ||
87 | ellint_E_e phi k mode = createSFR "ellint_E_e" $ gsl_sf_ellint_E_e phi k (precCode mode) | ||
88 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_E_e" gsl_sf_ellint_E_e :: Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
89 | |||
90 | ellint_E :: Double -> Double -> Precision -> Double | ||
91 | ellint_E phi k mode = gsl_sf_ellint_E phi k (precCode mode) | ||
92 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_E" gsl_sf_ellint_E :: Double -> Double -> Gsl_mode_t -> Double | ||
93 | |||
94 | ellint_P_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
95 | ellint_P_e phi k n mode = createSFR "ellint_P_e" $ gsl_sf_ellint_P_e phi k n (precCode mode) | ||
96 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_P_e" gsl_sf_ellint_P_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
97 | |||
98 | ellint_P :: Double -> Double -> Double -> Precision -> Double | ||
99 | ellint_P phi k n mode = gsl_sf_ellint_P phi k n (precCode mode) | ||
100 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_P" gsl_sf_ellint_P :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
101 | |||
102 | ellint_D_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
103 | ellint_D_e phi k n mode = createSFR "ellint_D_e" $ gsl_sf_ellint_D_e phi k n (precCode mode) | ||
104 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_D_e" gsl_sf_ellint_D_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
105 | |||
106 | ellint_D :: Double -> Double -> Double -> Precision -> Double | ||
107 | ellint_D phi k n mode = gsl_sf_ellint_D phi k n (precCode mode) | ||
108 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_D" gsl_sf_ellint_D :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
109 | |||
110 | ellint_RC_e :: Double -> Double -> Precision -> (Double,Double) | ||
111 | ellint_RC_e x y mode = createSFR "ellint_RC_e" $ gsl_sf_ellint_RC_e x y (precCode mode) | ||
112 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RC_e" gsl_sf_ellint_RC_e :: Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
113 | |||
114 | ellint_RC :: Double -> Double -> Precision -> Double | ||
115 | ellint_RC x y mode = gsl_sf_ellint_RC x y (precCode mode) | ||
116 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RC" gsl_sf_ellint_RC :: Double -> Double -> Gsl_mode_t -> Double | ||
117 | |||
118 | ellint_RD_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
119 | ellint_RD_e x y z mode = createSFR "ellint_RD_e" $ gsl_sf_ellint_RD_e x y z (precCode mode) | ||
120 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RD_e" gsl_sf_ellint_RD_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
121 | |||
122 | ellint_RD :: Double -> Double -> Double -> Precision -> Double | ||
123 | ellint_RD x y z mode = gsl_sf_ellint_RD x y z (precCode mode) | ||
124 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RD" gsl_sf_ellint_RD :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
125 | |||
126 | ellint_RF_e :: Double -> Double -> Double -> Precision -> (Double,Double) | ||
127 | ellint_RF_e x y z mode = createSFR "ellint_RF_e" $ gsl_sf_ellint_RF_e x y z (precCode mode) | ||
128 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RF_e" gsl_sf_ellint_RF_e :: Double -> Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
129 | |||
130 | ellint_RF :: Double -> Double -> Double -> Precision -> Double | ||
131 | ellint_RF x y z mode = gsl_sf_ellint_RF x y z (precCode mode) | ||
132 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RF" gsl_sf_ellint_RF :: Double -> Double -> Double -> Gsl_mode_t -> Double | ||
133 | |||
134 | ellint_RJ_e :: Double -> Double -> Double -> Double -> Precision -> (Double,Double) | ||
135 | ellint_RJ_e x y z p mode = createSFR "ellint_RJ_e" $ gsl_sf_ellint_RJ_e x y z p (precCode mode) | ||
136 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RJ_e" gsl_sf_ellint_RJ_e :: Double -> Double -> Double -> Double -> Gsl_mode_t -> Ptr () -> IO CInt | ||
137 | |||
138 | ellint_RJ :: Double -> Double -> Double -> Double -> Precision -> Double | ||
139 | ellint_RJ x y z p mode = gsl_sf_ellint_RJ x y z p (precCode mode) | ||
140 | foreign import ccall SAFE_CHEAP "gsl_sf_ellint_RJ" gsl_sf_ellint_RJ :: Double -> Double -> Double -> Double -> Gsl_mode_t -> Double | ||