From 43c616c435e3778a9096186b2dd78cdd470c7f4c Mon Sep 17 00:00:00 2001 From: Dang Date: Sun, 20 Aug 2023 13:35:21 -0700 Subject: [PATCH] blank lines added in docs --- src/sage/schemes/projective/projective_subscheme.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/sage/schemes/projective/projective_subscheme.py b/src/sage/schemes/projective/projective_subscheme.py index 6fbe0ce4a2b..ac44aa61094 100644 --- a/src/sage/schemes/projective/projective_subscheme.py +++ b/src/sage/schemes/projective/projective_subscheme.py @@ -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. = QQ[] sage: NF. = NumberField(x^2 - 5) sage: P. = ProjectiveSpace(NF, 2) @@ -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. = QQ[] sage: NF. = NumberField(x^2 - 5) sage: I = NF.ideal(3) @@ -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. = QQ[] sage: NF. = NumberField(x^2 - 5) sage: P. = ProjectiveSpace(NF, 2)