Skip to content

Commit

Permalink
Trac #31857: some details in references in various files
Browse files Browse the repository at this point in the history
found using
{{{
git grep "^[^#]*\[[A-Z][A-Za-z]*[0-9][0-9]*\]\s[A-Z]\."
}}}

URL: https://trac.sagemath.org/31857
Reported by: chapoton
Ticket author(s): Frédéric Chapoton
Reviewer(s): Samuel Lelièvre
  • Loading branch information
Release Manager committed Jul 25, 2021
2 parents d539c33 + 0554d48 commit d2240ab
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 40 deletions.
4 changes: 4 additions & 0 deletions src/doc/en/reference/references/index.rst
Expand Up @@ -2392,6 +2392,10 @@ REFERENCES:
toric varieties defined by atomic lattices*. Inventiones
Mathematicae. **155** (2004), no. 3, pp. 515-536.
.. [FZ2001] \S. Fomin and A. Zelevinsky. *Cluster algebras I. Foundations*,
\J. Amer. Math. Soc. **15** (2002), no. 2, pp. 497-529.
:arxiv:`math/0104151` (2001).
.. [FZ2007] \S. Fomin and \A. Zelevinsky, *Cluster algebras IV. Coefficients*,
Compos. Math. 143 (2007), no. 1, 112-164.
Expand Down
16 changes: 8 additions & 8 deletions src/doc/en/thematic_tutorials/geometry/polyhedra_tutorial.rst
Expand Up @@ -791,17 +791,17 @@ polytope is already defined!
Bibliography
=============

.. [Bro1983] Brondsted, A., An Introduction to Convex Polytopes, volume 90
of Graduate Texts in Mathematics. Springer-Verlag, New York, 1983. ISBN
978-1-4612-7023-2
.. [Bro1983] \A. Brondsted, An Introduction to Convex Polytopes, volume 90
of Graduate Texts in Mathematics. Springer-Verlag, New York, 1983.
ISBN 978-1-4612-7023-2
.. [Goo2004] J.E. Goodman and J. O'Rourke, editors, CRC Press LLC, Boca Raton, FL, 2004.
.. [Goo2004] \J. E. Goodman and J. O'Rourke, editors, CRC Press LLC, Boca Raton, FL, 2004.
ISBN 978-1584883012 (65 chapters, xvii + 1539 pages).
.. [Gru1967] Grünbaum, B., Convex polytopes, volume 221 of Graduate Texts in
Mathematics. Springer-Verlag, New York, 2003. ISBN
978-1-4613-0019-9
.. [Gru1967] \B. Grünbaum, Convex polytopes, volume 221 of Graduate Texts in
Mathematics. Springer-Verlag, New York, 2003.
ISBN 978-1-4613-0019-9
.. [Zie2007] Ziegler, G. M., Lectures on polytopes, volume 152 of Graduate
.. [Zie2007] \G. M. Ziegler, Lectures on polytopes, volume 152 of Graduate
Texts in Mathematics. Springer-Verlag, New York, 2007.
ISBN 978-0-387-94365-7
11 changes: 5 additions & 6 deletions src/sage/coding/self_dual_codes.py
Expand Up @@ -68,7 +68,7 @@
SD codes not of this form will be called (for the purpose of
documenting the code below) "exceptional". Except when n is
"small", most sd codes are exceptional (based on a counting
argument and table 9.1 in the Huffman+Pless [HP2003], page 347).
argument and table 9.1 in the Huffman+Pless [HP2003]_, page 347).
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Expand All @@ -78,12 +78,11 @@
REFERENCES:
- [HP2003] W. C. Huffman, V. Pless, Fundamentals of
- [HP2003] \W. C. Huffman, V. Pless, Fundamentals of
Error-Correcting Codes, Cambridge Univ. Press, 2003.
- [P] V. Pless,
"A classification of self-orthogonal codes over GF(2)", Discrete
Math 3 (1972) 209-246.
- [P] \V. Pless, "A classification of self-orthogonal codes over GF(2)",
Discrete Math 3 (1972) 209-246.
"""

from sage.rings.finite_rings.finite_field_constructor import FiniteField as GF
Expand Down Expand Up @@ -270,7 +269,7 @@ def self_dual_binary_codes(n):
22, 22, 30, 30, 42, 42, 56, 56, 77, 77, 101, 101, 135, 135, 176,
176, 231] These numbers grow too slowly to account for all the sd
codes (see Huffman+Pless' Table 9.1, referenced above). In fact, in
Table 9.10 of [HP2003], the number B_n of inequivalent sd binary codes
Table 9.10 of [HP2003]_, the number B_n of inequivalent sd binary codes
of length n is given::
n 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Expand Down
5 changes: 3 additions & 2 deletions src/sage/combinat/rsk.py
Expand Up @@ -138,7 +138,7 @@
.. [EG1987] Paul Edelman, Curtis Greene.
*Balanced Tableaux*.
Advances in Mathematics 63 (1987), pp. 42-99.
https://doi.org/10.1016/0001-8708(87)90063-6
:doi:`10.1016/0001-8708(87)90063-6`
.. [BKSTY06] \A. Buch, A. Kresch, M. Shimozono, H. Tamvakis, and A. Yong.
*Stable Grothendieck polynomials and* `K`-*theoretic factor sequences*.
Expand All @@ -147,7 +147,7 @@
.. [GR2018v5sol] Darij Grinberg, Victor Reiner.
*Hopf Algebras In Combinatorics*,
:arXiv:`1409.8356v5`, available with solutions at
:arxiv:`1409.8356v5`, available with solutions at
https://arxiv.org/src/1409.8356v5/anc/HopfComb-v73-with-solutions.pdf
"""

Expand Down Expand Up @@ -515,6 +515,7 @@ def _backward_format_output(self, lower_row, upper_row, output,
"q must be standard to have a %s as valid output" %output)
raise ValueError("invalid output option")


class RuleRSK(Rule):
r"""
Rule for the classical Robinson-Schensted-Knuth insertion.
Expand Down
9 changes: 4 additions & 5 deletions src/sage/groups/abelian_gps/abelian_group.py
Expand Up @@ -57,7 +57,7 @@
(4, f4, 4)
Background on invariant factors and the Smith normal form
(according to section 4.1 of [C1]): An abelian group is a
(according to section 4.1 of [Cohen1]_): An abelian group is a
group `A` for which there exists an exact sequence
`\ZZ^k \rightarrow \ZZ^\ell \rightarrow A \rightarrow 1`,
for some positive integers
Expand Down Expand Up @@ -151,21 +151,20 @@
REFERENCES:
- [C1] H. Cohen Advanced topics in computational number theory,
.. [Cohen1] \H. Cohen, Advanced topics in computational number theory,
Springer, 2000.
- [C2] ----, A course in computational algebraic number theory,
.. [Cohen2] \H. Cohen, A course in computational algebraic number theory,
Springer, 1996.
- [R] J. Rotman, An introduction to the theory of
.. [Rotman] \J. Rotman, An introduction to the theory of
groups, 4th ed, Springer, 1995.
.. warning::
Many basic properties for infinite abelian groups are not
implemented.
AUTHORS:
- William Stein, David Joyner (2008-12): added (user requested) is_cyclic,
Expand Down
32 changes: 13 additions & 19 deletions src/sage/matrix/matrix0.pyx
Expand Up @@ -1589,7 +1589,7 @@ cdef class Matrix(sage.structure.element.Matrix):
###########################################################
def base_ring(self):
"""
Returns the base ring of the matrix.
Return the base ring of the matrix.
EXAMPLES::
Expand Down Expand Up @@ -2270,7 +2270,7 @@ cdef class Matrix(sage.structure.element.Matrix):

def dimensions(self):
r"""
Returns the dimensions of this matrix as the tuple (nrows, ncols).
Return the dimensions of this matrix as the tuple (nrows, ncols).
EXAMPLES::
Expand All @@ -2293,7 +2293,7 @@ cdef class Matrix(sage.structure.element.Matrix):
###################################################
def act_on_polynomial(self, f):
"""
Returns the polynomial f(self\*x).
Return the polynomial f(self\*x).
INPUT:
Expand Down Expand Up @@ -3599,8 +3599,7 @@ cdef class Matrix(sage.structure.element.Matrix):
REFERENCES:
- [FZ2001] S. Fomin, A. Zelevinsky. *Cluster Algebras 1: Foundations*,
:arxiv:`math/0104151` (2001).
- [FZ2001]_
"""
cdef Py_ssize_t i, j, _
cdef list pairs, k0_pairs, k1_pairs
Expand Down Expand Up @@ -3707,8 +3706,7 @@ cdef class Matrix(sage.structure.element.Matrix):
REFERENCES:
- [FZ2001] S. Fomin, A. Zelevinsky. *Cluster Algebras 1: Foundations*,
:arxiv:`math/0104151` (2001).
- [FZ2001]_
"""
cdef dict d = {}
cdef list queue = list(xrange(self._ncols))
Expand Down Expand Up @@ -3905,7 +3903,7 @@ cdef class Matrix(sage.structure.element.Matrix):

def is_symmetric(self):
"""
Returns True if this is a symmetric matrix.
Return True if this is a symmetric matrix.
A symmetric matrix is necessarily square.
Expand Down Expand Up @@ -4311,8 +4309,7 @@ cdef class Matrix(sage.structure.element.Matrix):
REFERENCES:
- [FZ2001] S. Fomin, A. Zelevinsky. *Cluster Algebras 1: Foundations*,
:arxiv:`math/0104151` (2001).
- [FZ2001]_
"""
if self._ncols != self._nrows:
raise ValueError("The matrix is not a square matrix")
Expand Down Expand Up @@ -4363,16 +4360,15 @@ cdef class Matrix(sage.structure.element.Matrix):
REFERENCES:
- [FZ2001] S. Fomin, A. Zelevinsky. *Cluster Algebras 1: Foundations*,
:arxiv:`math/0104151` (2001).
- [FZ2001]_
"""
if self._ncols != self._nrows:
raise ValueError("The matrix is not a square matrix")
return self._check_symmetrizability(return_diag=return_diag, skew=True, positive=positive)

def is_dense(self):
"""
Returns True if this is a dense matrix.
Return True if this is a dense matrix.
In Sage, being dense is a property of the underlying
representation, not the number of nonzero entries.
Expand Down Expand Up @@ -4470,7 +4466,7 @@ cdef class Matrix(sage.structure.element.Matrix):

def is_singular(self):
r"""
Returns ``True`` if ``self`` is singular.
Return ``True`` if ``self`` is singular.
OUTPUT:
Expand Down Expand Up @@ -4679,7 +4675,7 @@ cdef class Matrix(sage.structure.element.Matrix):

def _nonzero_positions_by_row(self, copy=True):
"""
Returns the list of pairs ``(i,j)`` such that ``self[i,j] != 0``.
Return the list of pairs ``(i,j)`` such that ``self[i,j] != 0``.
It is safe to change the resulting list (unless you give the
option ``copy=False``).
Expand Down Expand Up @@ -4708,7 +4704,7 @@ cdef class Matrix(sage.structure.element.Matrix):

def _nonzero_positions_by_column(self, copy=True):
"""
Returns the list of pairs ``(i,j)`` such that ``self[i,j] != 0``, but
Return the list of pairs ``(i,j)`` such that ``self[i,j] != 0``, but
sorted by columns, i.e., column ``j=0`` entries occur first, then
column ``j=1`` entries, etc.
Expand Down Expand Up @@ -4963,14 +4959,12 @@ cdef class Matrix(sage.structure.element.Matrix):
###################################################
cdef _vector_times_matrix_(self, Vector v):
"""
Returns the vector times matrix product.
Return the vector times matrix product.
INPUT:
- ``v`` - a free module element.
OUTPUT: The vector times matrix product v\*A.
EXAMPLES::
Expand Down

0 comments on commit d2240ab

Please sign in to comment.