152
152
- Online Encyclopedia of Special Function
153
153
http://algo.inria.fr/esf/index.html
154
154
155
- TODO: Resolve weird bug in commented out code in hypergeometric_U
156
- below.
157
-
158
155
AUTHORS:
159
156
160
157
- David Joyner and William Stein
@@ -726,8 +723,6 @@ class EllipticE(BuiltinFunction):
726
723
727
724
E(\varphi\,|\,m)=\int_0^\varphi \sqrt{1 - m\sin(x)^2}\, dx.
728
725
729
- Taking `\varphi = \pi/2` gives :func:`elliptic_ec()<sage.functions.special.EllipticEC>`.
730
-
731
726
EXAMPLES::
732
727
733
728
sage: z = var("z")
@@ -742,6 +737,18 @@ class EllipticE(BuiltinFunction):
742
737
0.498011394498832
743
738
sage: elliptic_e(1/2, 1/10).n(200)
744
739
0.4980113944988315331154610406...
740
+
741
+ .. SEEALSO::
742
+
743
+ - Taking `\varphi = \pi/2` gives :func:`elliptic_ec()<sage.functions.special.EllipticEC>`.
744
+
745
+ - Taking `\varphi = \operatorname{arc\,sin}(\operatorname{sn}(u,m))` gives :func:`elliptic_eu()<sage.functions.special.EllipticEU>`.
746
+
747
+ REFERENCES:
748
+
749
+ - :wikipedia:`Elliptic_integral#Incomplete_elliptic_integral_of_the_second_kind`
750
+
751
+ - :wikipedia:`Jacobi_elliptic_functions`
745
752
"""
746
753
def __init__ (self ):
747
754
"""
@@ -845,6 +852,14 @@ class EllipticEC(BuiltinFunction):
845
852
1.53075763689776
846
853
sage: elliptic_ec(x).diff()
847
854
1/2*(elliptic_ec(x) - elliptic_kc(x))/x
855
+
856
+ .. SEEALSO::
857
+
858
+ - :func:`elliptic_e()<sage.functions.special.EllipticE>`.
859
+
860
+ REFERENCES:
861
+
862
+ - :wikipedia:`Elliptic_integral#Complete_elliptic_integral_of_the_second_kind`
848
863
"""
849
864
def __init__ (self ):
850
865
"""
@@ -914,10 +929,22 @@ class EllipticEU(BuiltinFunction):
914
929
915
930
where `\tau = \mathrm{sn}(u, m)`.
916
931
932
+ Also, ``elliptic_eu(u, m) = elliptic_e(asin(sn(u,m)),m)``.
933
+
917
934
EXAMPLES::
918
935
919
936
sage: elliptic_eu (0.5, 0.1)
920
937
0.496054551286597
938
+
939
+ .. SEEALSO::
940
+
941
+ - :func:`elliptic_e()<sage.functions.special.EllipticE>`.
942
+
943
+ REFERENCES:
944
+
945
+ - :wikipedia:`Elliptic_integral#Incomplete_elliptic_integral_of_the_second_kind`
946
+
947
+ - :wikipedia:`Jacobi_elliptic_functions`
921
948
"""
922
949
def __init__ (self ):
923
950
r"""
@@ -1012,7 +1039,7 @@ def elliptic_eu_f(u, m):
1012
1039
1013
1040
class EllipticF (BuiltinFunction ):
1014
1041
r"""
1015
- Return the incomplete elliptic integral of the first kind,
1042
+ Return the incomplete elliptic integral of the first kind.
1016
1043
1017
1044
.. math::
1018
1045
@@ -1029,6 +1056,14 @@ class EllipticF(BuiltinFunction):
1029
1056
log(tan(1/4*pi + 1/2*z))
1030
1057
sage: elliptic_f (0.2, 0.1)
1031
1058
0.200132506747543
1059
+
1060
+ .. SEEALSO::
1061
+
1062
+ - :func:`elliptic_e()<sage.functions.special.EllipticE>`.
1063
+
1064
+ REFERENCES:
1065
+
1066
+ - :wikipedia:`Elliptic_integral#Incomplete_elliptic_integral_of_the_first_kind`
1032
1067
"""
1033
1068
def __init__ (self ):
1034
1069
"""
@@ -1121,6 +1156,18 @@ class EllipticKC(BuiltinFunction):
1121
1156
1122
1157
sage: elliptic_kc(0.5)
1123
1158
1.85407467730137
1159
+
1160
+ .. SEEALSO::
1161
+
1162
+ - :func:`elliptic_f()<sage.functions.special.EllipticF>`.
1163
+
1164
+ - :func:`elliptic_ec()<sage.functions.special.EllipticEC>`.
1165
+
1166
+ REFERENCES:
1167
+
1168
+ - :wikipedia:`Elliptic_integral#Complete_elliptic_integral_of_the_first_kind`
1169
+
1170
+ - :wikipedia:`Elliptic_integral#Incomplete_elliptic_integral_of_the_first_kind`
1124
1171
"""
1125
1172
def __init__ (self ):
1126
1173
"""
@@ -1206,17 +1253,9 @@ class EllipticPi(BuiltinFunction):
1206
1253
sage: numerical_integral(1/(1-0.1*sin(x)^2)/sqrt(1-0.3*sin(x)^2), 0.0, 0.2)
1207
1254
(0.2006650682209791, 2.227829789769088e-15)
1208
1255
1209
- ALGORITHM:
1210
-
1211
- Numerical evaluation and symbolic manipulation are provided by `Maxima`_.
1212
-
1213
1256
REFERENCES:
1214
1257
1215
- - Abramowitz and Stegun: Handbook of Mathematical Functions, section 17.7
1216
- http://www.math.sfu.ca/~cbm/aands/
1217
- - Elliptic Functions in `Maxima`_
1218
-
1219
- .. _`Maxima`: http://maxima.sourceforge.net/docs/manual/en/maxima_16.html#SEC91
1258
+ - :wikipedia:`Elliptic_integral#Incomplete_elliptic_integral_of_the_third_kind`
1220
1259
"""
1221
1260
def __init__ (self ):
1222
1261
"""
0 commit comments