Skip to content

Commit

Permalink
src/sage/matrix/matrix_space.py: Do not mention enumerated families a…
Browse files Browse the repository at this point in the history
…s row/column keys
  • Loading branch information
Matthias Koeppe committed Mar 7, 2024
1 parent 2b8f034 commit 6885c2d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/sage/matrix/matrix_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,12 +441,11 @@ class MatrixSpace(UniqueRepresentation, Parent):
- ``base_ring`` -- a ring
- ``nrows`` or ``row_keys`` -- (nonnegative integer) the number of rows, or
a finite or enumerated family of arbitrary objects that index the rows
of the matrix
a finite family of arbitrary objects that index the rows of the matrix
- ``ncols`` or ``column_keys`` -- (nonnegative integer, default ``nrows``)
the number of columns, or a finite or enumerated family of arbitrary objects
that index the columns of the matrix
the number of columns, or a finite family of arbitrary objects that index
the columns of the matrix
- ``sparse`` -- (boolean, default ``False``) whether or not matrices
are given a sparse representation
Expand Down Expand Up @@ -475,11 +474,10 @@ class MatrixSpace(UniqueRepresentation, Parent):
depending on the input. Not all combinations of options are
implemented.
- If the parameters ``row_keys`` or ``column_keys`` are provided,
they must be finite or enumerated families of objects. In this
case, instances of :class:`CombinatorialFreeModule` are created
via the factory function :func:`FreeModule`. Then the homspace
between these modules is returned.
- If the parameters ``row_keys`` or ``column_keys`` are provided, they
must be finite families of objects. In this case, instances of
:class:`CombinatorialFreeModule` are created via the factory function
:func:`FreeModule`. Then the homspace between these modules is returned.
EXAMPLES::
Expand Down

0 comments on commit 6885c2d

Please sign in to comment.