Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 27278e3

Browse files
committed
15046: add refs
1 parent 9a62ed2 commit 27278e3

File tree

1 file changed

+54
-15
lines changed

1 file changed

+54
-15
lines changed

src/sage/functions/special.py

+54-15
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@
152152
- Online Encyclopedia of Special Function
153153
http://algo.inria.fr/esf/index.html
154154
155-
TODO: Resolve weird bug in commented out code in hypergeometric_U
156-
below.
157-
158155
AUTHORS:
159156
160157
- David Joyner and William Stein
@@ -726,8 +723,6 @@ class EllipticE(BuiltinFunction):
726723
727724
E(\varphi\,|\,m)=\int_0^\varphi \sqrt{1 - m\sin(x)^2}\, dx.
728725
729-
Taking `\varphi = \pi/2` gives :func:`elliptic_ec()<sage.functions.special.EllipticEC>`.
730-
731726
EXAMPLES::
732727
733728
sage: z = var("z")
@@ -742,6 +737,18 @@ class EllipticE(BuiltinFunction):
742737
0.498011394498832
743738
sage: elliptic_e(1/2, 1/10).n(200)
744739
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`
745752
"""
746753
def __init__(self):
747754
"""
@@ -845,6 +852,14 @@ class EllipticEC(BuiltinFunction):
845852
1.53075763689776
846853
sage: elliptic_ec(x).diff()
847854
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`
848863
"""
849864
def __init__(self):
850865
"""
@@ -914,10 +929,22 @@ class EllipticEU(BuiltinFunction):
914929
915930
where `\tau = \mathrm{sn}(u, m)`.
916931
932+
Also, ``elliptic_eu(u, m) = elliptic_e(asin(sn(u,m)),m)``.
933+
917934
EXAMPLES::
918935
919936
sage: elliptic_eu (0.5, 0.1)
920937
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`
921948
"""
922949
def __init__(self):
923950
r"""
@@ -1012,7 +1039,7 @@ def elliptic_eu_f(u, m):
10121039

10131040
class EllipticF(BuiltinFunction):
10141041
r"""
1015-
Return the incomplete elliptic integral of the first kind,
1042+
Return the incomplete elliptic integral of the first kind.
10161043
10171044
.. math::
10181045
@@ -1029,6 +1056,14 @@ class EllipticF(BuiltinFunction):
10291056
log(tan(1/4*pi + 1/2*z))
10301057
sage: elliptic_f (0.2, 0.1)
10311058
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`
10321067
"""
10331068
def __init__(self):
10341069
"""
@@ -1121,6 +1156,18 @@ class EllipticKC(BuiltinFunction):
11211156
11221157
sage: elliptic_kc(0.5)
11231158
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`
11241171
"""
11251172
def __init__(self):
11261173
"""
@@ -1206,17 +1253,9 @@ class EllipticPi(BuiltinFunction):
12061253
sage: numerical_integral(1/(1-0.1*sin(x)^2)/sqrt(1-0.3*sin(x)^2), 0.0, 0.2)
12071254
(0.2006650682209791, 2.227829789769088e-15)
12081255
1209-
ALGORITHM:
1210-
1211-
Numerical evaluation and symbolic manipulation are provided by `Maxima`_.
1212-
12131256
REFERENCES:
12141257
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`
12201259
"""
12211260
def __init__(self):
12221261
"""

0 commit comments

Comments
 (0)