Skip to content

Commit

Permalink
Trac #18163: Ref: add various missing modules to r/modules
Browse files Browse the repository at this point in the history
URL: http://trac.sagemath.org/18163
Reported by: mmezzarobba
Ticket author(s): Marc Mezzarobba
Reviewer(s): Jeroen Demeyer
  • Loading branch information
Release Manager authored and vbraun committed May 31, 2015
2 parents 82d2d88 + 42f3e8b commit 8531803
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 17 deletions.
14 changes: 14 additions & 0 deletions src/doc/en/reference/modules/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,18 @@ Modules
sage/modules/with_basis/morphism
sage/modules/with_basis/subquotient

sage/modules/finite_submodule_iter
sage/modules/free_quadratic_module
sage/modules/misc
sage/modules/quotient_module

sage/modules/vector_complex_double_dense
sage/modules/vector_double_dense
sage/modules/vector_integer_dense
sage/modules/vector_mod2_dense
sage/modules/vector_modn_dense
sage/modules/vector_rational_dense
sage/modules/vector_real_double_dense
sage/modules/vector_symbolic_dense

.. include:: ../footer.txt
20 changes: 10 additions & 10 deletions src/sage/modules/free_quadratic_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
can specify and change.
Create the free module of rank `n` over an arbitrary commutative ring `R`
using the command \code{FreeModule(R,n)} with a given inner_product_matrix.
using the command ``FreeModule(R,n)`` with a given inner_product_matrix.
The following example illustrates the creation of both a vector spaces
and a free module over the integers and a submodule of it. Use the functions
\code{FreeModule}, \code{span} and member functions of free modules
to create free modules. \emph{Do not use the FreeModule\_xxx constructors
directly.}
``FreeModule``, ``span`` and member functions of free modules
to create free modules. ''Do not use the ``FreeModule_xxx`` constructors
directly.''
EXAMPLES::
Expand Down Expand Up @@ -116,9 +116,9 @@ def FreeQuadraticModule(
.. NOTE::
In Sage, there is only one dense and one sparse free ambient
quadratic module of rank `n` over `R` and given inner product
matrix.
In Sage it is the case that there is only one dense and one
sparse free ambient quadratic module of rank `n` over `R` and given
inner product matrix.
EXAMPLES::
Expand Down Expand Up @@ -1460,9 +1460,9 @@ class FreeQuadraticModule_submodule_with_basis_field(
[ 1 2 3]
[ 4 5 19]
Since this is an embedded vector subspace with a distinguished user
basis possibly different than the echelonized basis, the
echelon_coordinates() and user coordinates() do not agree:
Since this is an embedded vector subspace with a distinguished user
basis possibly different than the echelonized basis, the
``echelon_coordinates()`` and user ``coordinates()`` do not agree::
sage: V = QQ^3
sage: W = V.submodule_with_basis([[1,2,3], [4,5,6]])
Expand Down
5 changes: 3 additions & 2 deletions src/sage/modules/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
Miscellaneous module-related functions.
AUTHORS:
-- William Stein (2007-11-18)
- William Stein (2007-11-18)
"""

####################################################################################
Expand Down Expand Up @@ -35,7 +36,7 @@ def gram_schmidt(B):
could be. Instead, see :meth:`sage.matrix.matrix2.Matrix2.gram_schmidt`
which is safer and more general-purpose.
EXAMPLES:
EXAMPLES::
sage: B = [vector([1,2,1/5]), vector([1,2,3]), vector([-1,0,0])]
sage: from sage.modules.misc import gram_schmidt
Expand Down
8 changes: 5 additions & 3 deletions src/sage/modules/vector_double_dense.pyx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
r"""
Dense vectors using a NumPy backend. This serves as a base class for
dense vectors over Real Double Field and Complex Double Field
Dense vectors using a NumPy backend.
This serves as a base class for dense vectors over Real Double Field and
Complex Double Field
EXAMPLES::
Expand All @@ -24,7 +26,7 @@ EXAMPLES::
AUTHORS:
- Jason Grout, Oct 2008: switch to numpy backend, factored out
Vector_double_dense class
``Vector_double_dense`` class
- Josh Kantor
- William Stein
"""
Expand Down
3 changes: 1 addition & 2 deletions src/sage/modules/vector_mod2_dense.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Vectors with elements in GF(2).
AUTHOR:
- Martin Albrecht (2009-12): initial implementation
- Thomas Feulner (2012-11): added :meth:`Vector_mod2_dense.hamming_weight`
EXAMPLES::
Expand Down Expand Up @@ -461,7 +460,7 @@ cdef class Vector_mod2_dense(free_module_element.FreeModuleElement):
INPUT:
- ``copy`` - always ``True
- ``copy`` - always ``True``
EXAMPLE::
Expand Down

0 comments on commit 8531803

Please sign in to comment.