Ticket #13209: 17437.3.patch

File 17437.3.patch, 6.0 KB (added by knsam, 10 years ago)

This recent patch addresses referees comments.

  • sage/categories/additive_magmas.py

    # HG changeset patch
    # User Kannappan Sampath <kntrichy@gmail.com>
    # Date 1354212254 -19800
    # Node ID 24db17affbf4642bf7e19f1edd5aad161e366c78
    # Parent  672c9c28a28e24d2da44ba4dd27f7baf1960cd22
    trac #13209: no. of  characters per line now confirm the standards.
    
    diff --git a/sage/categories/additive_magmas.py b/sage/categories/additive_magmas.py
    a b  
    134134              * a list - a list of strings, where the length
    135135                of the list equals the number of elements.
    136136            - ``elements`` - default = ``None``.  A list of
    137               elements of the additive magma, in forms that can be coerced into the structure.
    138               This may be used to impose an alternate ordering on the elements, perhaps
    139               when this is used in the context of a particular structure.
    140               The default is to use whatever ordering the ``S.list`` method returns.
    141               Or the ``elements`` can be a subset which is closed under the operation. In
    142               particular, this can be used when the base set is infinite.
     137              elements of the additive magma, in forms that
     138              can be coerced into the structure, eg. their
     139              string representations. This may be used to
     140              impose an alternate ordering on the elements,
     141              perhaps when this is used in the context of a
     142              particular structure. The default is to use
     143              whatever ordering the ``S.list`` method returns.
     144              Or the ``elements`` can be a subset which is
     145              closed under the operation. In particular,
     146              this can be used when the base set is infinite.
    143147
    144148            OUTPUT:
    145149            The addition table as an object of the class
  • sage/categories/groups.py

    diff --git a/sage/categories/groups.py b/sage/categories/groups.py
    a b  
    124124                of the list equals the number of elements.
    125125
    126126            - ``elements`` - default = ``None``.  A list of
    127               elements of the group, in forms that can be coerced into the structure.
    128               This may be used to impose an alternate ordering on the elements, perhaps
    129               when this is used in the context of a particular structure.
     127              elements of the group, in forms that can be
     128              coerced into the structure, eg. their string
     129              representations. This may be used to impose an
     130              alternate ordering on the elements, perhaps when
     131              this is used in the context of a particular structure.
    130132              The default is to use whatever ordering is provided by the
    131133              the group, which is reported by the
    132134              :meth:`~sage.matrix.operation_table.OperationTable.column_keys`
  • sage/categories/magmas.py

    diff --git a/sage/categories/magmas.py b/sage/categories/magmas.py
    a b  
    162162              * a list - a list of strings, where the length
    163163                of the list equals the number of elements.
    164164            - ``elements`` - default = ``None``.  A list of
    165               elements of the magma, in forms that can be coerced into the structure.
    166               This may be used to impose an alternate ordering on the elements, perhaps
    167               when this is used in the context of a particular structure.
    168               The default is to use whatever ordering the ``S.list`` method returns.
    169               Or the ``elements`` can be a subset which is closed under the operation. In
    170               particular, this can be used when the base set is infinite.
     165              elements of the magma, in forms that can be
     166              coerced into the structure, eg. their string
     167              representations. This may be used to impose an
     168              alternate ordering on the elements, perhaps when
     169              this is used in the context of a particular structure.
     170              The default is to use whatever ordering the ``S.list``
     171              method returns. Or the ``elements`` can be a subset
     172              which is closed under the operation. In particular,
     173              this can be used when the base set is infinite.
    171174
    172175            OUTPUT:
    173176            The multiplication table as an object of the class
  • sage/matrix/operation_table.py

    diff --git a/sage/matrix/operation_table.py b/sage/matrix/operation_table.py
    a b  
    5050      * a list - a list of strings, where the length
    5151        of the list equals the number of elements.
    5252
    53     - ``elements`` - (default: ``None``)  A list of
    54       elements of ``S``, in forms that can be coerced into the structure.
    55       This may be used to impose an alternate ordering on the elements of ``S``, perhaps
    56       when this is used in the context of a particular structure.
    57       The default is to use whatever ordering the ``S.list()`` method returns.
    58       ``elements`` can also be a subset which is closed under
    59       the operation, useful perhaps when the set is infinite.
     53    - ``elements`` - (default: ``None``)  A list of elements of ``S``,
     54      in forms that can be coerced into the structure, eg. their
     55      string representations. This may be used to impose an alternate
     56      ordering on the elements of `S``, perhaps when this is used in
     57      the context of a particular structure. The default is to use
     58      whatever ordering the ``S.list()`` method returns. `elements``
     59      can also be a subset which is closed under the operation, useful
     60      perhaps when the set is infinite.
    6061
    6162    OUTPUT:
    6263    An object with methods that abstracts multiplication tables,
     
    303304        a| a b
    304305        b| b a
    305306
    306     This can be rewritten so as to pass the actual elements of the group ``H``,
    307     using a simple ``for`` loop::
     307    This can be rewritten so as to pass the actual elements of the
     308    group ``H``, using a simple ``for`` loop::
    308309
    309310        sage: L = H.list()    #list of elements of the group H
    310311        sage: elts = [L[i] for i in {0, 2}]