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