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

Commit

Permalink
doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
yyyyx4 committed Jan 31, 2022
1 parent bf799ad commit fbffbf3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
13 changes: 7 additions & 6 deletions src/sage/schemes/elliptic_curves/ell_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -1181,16 +1181,17 @@ def is_isogenous(self, other, field=None):

def weierstrass_p(self, prec=20, algorithm=None):
r"""
Computes the Weierstrass `\wp`-function of the elliptic curve.
Compute the Weierstrass `\wp`-function of this elliptic curve.
ALGORITHM: :func:`sage.schemes.elliptic_curves.ell_wp.weierstrass_p`
INPUT:
- ``mprec`` - precision
- ``prec`` -- precision
- ``algorithm`` - string (default:``None``) an algorithm identifier
indicating using the ``pari``, ``fast`` or ``quadratic``
algorithm. If the algorithm is ``None``, then this
function determines the best algorithm to use.
- ``algorithm`` -- string or ``None`` (default: ``None``):
a choice of algorithm among ``"pari"``, ``"fast"``, ``"quadratic"``;
or ``None`` to let this function determine the best algorithm to use.
OUTPUT:
Expand Down
12 changes: 7 additions & 5 deletions src/sage/schemes/elliptic_curves/ell_wp.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,22 @@
from sage.rings.laurent_series_ring import LaurentSeriesRing
from sage.rings.power_series_ring import PowerSeriesRing

# Note: Part of the documentation is replicated in ell_field.py for
# users' convenience. Make sure to keep the two copies synchronized.

def weierstrass_p(E, prec=20, algorithm=None):
r"""
Computes the Weierstrass `\wp`-function on an elliptic curve.
Compute the Weierstrass `\wp`-function on an elliptic curve.
INPUT:
- ``E`` -- an elliptic curve
- ``prec`` -- precision
- ``algorithm`` -- string (default:``None``) an algorithm identifier
indicating the ``pari``, ``fast`` or ``quadratic`` algorithm.
If the algorithm is ``None``, then this function determines the
best algorithm to use.
- ``algorithm`` -- string or ``None`` (default: ``None``):
a choice of algorithm among ``"pari"``, ``"fast"``, ``"quadratic"``;
or ``None`` to let this function determine the best algorithm to use.
OUTPUT:
Expand Down

0 comments on commit fbffbf3

Please sign in to comment.