Skip to content

Commit

Permalink
blank lines added in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MatheMagicianPi committed Aug 20, 2023
1 parent ed2490b commit 43c616c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/sage/schemes/projective/projective_subscheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -1408,12 +1408,16 @@ def Chow_form(self):
def global_height(self, prec=None):
"""
Return the (projective) global height of the subscheme.
INPUT:
- ``prec`` -- desired floating point precision (default:
default RealField precision).
OUTPUT:
- a real number.
EXAMPLES::
sage: R.<x> = QQ[]
sage: NF.<a> = NumberField(x^2 - 5)
sage: P.<x,y,z> = ProjectiveSpace(NF, 2)
Expand All @@ -1433,13 +1437,17 @@ def global_height(self, prec=None):
def local_height(self, v, prec=None):
"""
Return the (projective) local height of the subscheme.
INPUT:
- ``v`` -- a prime or prime ideal of the base ring.
- ``prec`` -- desired floating point precision (default:
default RealField precision).
OUTPUT:
- a real number.
EXAMPLES::
sage: R.<x> = QQ[]
sage: NF.<a> = NumberField(x^2 - 5)
sage: I = NF.ideal(3)
Expand All @@ -1460,13 +1468,17 @@ def local_height(self, v, prec=None):
def local_height_arch(self, i, prec=None):
"""
Return the local height at the ``i``-th infinite place of the subscheme.
INPUT:
- ``i`` -- an integer.
- ``prec`` -- desired floating point precision (default:
default RealField precision).
OUTPUT:
- a real number.
EXAMPLES::
sage: R.<x> = QQ[]
sage: NF.<a> = NumberField(x^2 - 5)
sage: P.<x,y,z> = ProjectiveSpace(NF, 2)
Expand Down

0 comments on commit 43c616c

Please sign in to comment.