Skip to content

Commit de726e5

Browse files
committed
suggested details
1 parent e9a9a0b commit de726e5

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

src/sage/matrix/matrix_integer_dense.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1706,14 +1706,14 @@ cdef class Matrix_integer_dense(Matrix_dense):
17061706

17071707
def symplectic_form(self):
17081708
r"""
1709-
Find a symplectic basis for self if self is an anti-symmetric,
1709+
Find a symplectic basis for ``self`` if ``self`` is an anti-symmetric,
17101710
alternating matrix.
17111711
17121712
Return a pair (F, C) such that the rows of C form a symplectic
1713-
basis for self and ``F = C * self * C.transpose()``.
1713+
basis for ``self`` and ``F = C * self * C.transpose()``.
17141714
1715-
Raise a :class:`ValueError` if self is not anti-symmetric,
1716-
or self is not alternating.
1715+
Raise a :class:`ValueError` if ``self`` is not anti-symmetric,
1716+
or ``self`` is not alternating.
17171717
17181718
Anti-symmetric means that `M = -M^t`. Alternating means
17191719
that the diagonal of `M` is identically zero.
@@ -1722,7 +1722,7 @@ cdef class Matrix_integer_dense(Matrix_dense):
17221722
`e_1, \ldots, e_j, f_1, \ldots f_j, z_1, \dots, z_k`
17231723
such that
17241724
1725-
- `z_i M v^t` = 0 for all vectors `v`
1725+
- `z_i M v^t = 0` for all vectors `v`
17261726
17271727
- `e_i M {e_j}^t = 0` for all `i, j`
17281728

src/sage/modular/abvar/abvar.py

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -525,15 +525,17 @@ def label(self) -> str:
525525
def newform(self, names=None):
526526
"""
527527
Return the newform `f` such that this abelian variety is isogenous to
528-
the newform abelian variety `A_f`. If this abelian variety is not
529-
simple, raise a ``ValueError``.
528+
the newform abelian variety `A_f`.
529+
530+
If this abelian variety is not
531+
simple, this raises a :class:`ValueError`.
530532
531533
INPUT:
532534
533-
- ``names`` -- (default: None) If the newform has coefficients in a
534-
number field, then a generator name must be specified.
535+
- ``names`` -- (default: ``None``) If the newform has coefficients
536+
in a number field, then a generator name must be specified.
535537
536-
OUTPUT: A newform `f` so that self is isogenous to `A_f`.
538+
OUTPUT: A newform `f` so that ``self`` is isogenous to `A_f`.
537539
538540
EXAMPLES::
539541
@@ -3237,22 +3239,25 @@ def degen_t(self, none_if_not_known=False):
32373239
def isogeny_number(self, none_if_not_known=False):
32383240
"""
32393241
Return the number (starting at 0) of the isogeny class of new
3240-
simple abelian varieties that self is in. If self is not simple,
3241-
raises a :class:`ValueError` exception.
3242+
simple abelian varieties that ``self`` is in.
3243+
3244+
If ``self`` is not simple,
3245+
this raises a :class:`ValueError` exception.
32423246
32433247
INPUT:
32443248
3245-
- ``none_if_not_known`` -- bool (default: False); if
3246-
True then this function may return None instead of True of False if
3247-
we don't already know the isogeny number of self.
3249+
- ``none_if_not_known`` -- bool (default: ``False``); if
3250+
``True`` then this function may return ``None`` instead of ``True``
3251+
or ``False`` if
3252+
we do not already know the isogeny number of ``self``.
32483253
3249-
EXAMPLES: We test the none_if_not_known flag first::
3254+
EXAMPLES: We test the ``none_if_not_known`` flag first::
32503255
32513256
sage: J0(33).isogeny_number(none_if_not_known=True) is None
32523257
True
32533258
32543259
Of course, `J_0(33)` is not simple, so this function
3255-
raises a ValueError::
3260+
raises a :class:`ValueError`::
32563261
32573262
sage: J0(33).isogeny_number()
32583263
Traceback (most recent call last):

0 commit comments

Comments
 (0)