Changes between Initial Version and Version 1 of Ticket #29886, comment 1


Ignore:
Timestamp:
Jun 18, 2020, 3:38:14 AM (2 years ago)
Author:
Samuel Lelièvre
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29886, comment 1

    initial v1  
    44+ def symmetric_matrices(self, f, g=None):
    55}}}
     6
     7Typo: doesn't contains -> doesn't contain.
     8
     9Use a space after each comma in code,
     10and around `+` signs.
    611
    712Use double backticks, e.g. {{{``f``}}} or {{{``ValueError``}}}
     
    3742}}}
    3843
     44Likewise, replace this:
     45{{{
     46sage: gen = MS.symmetric_matrices(f)
     47sage: i = 0
     48sage: for M in gen:
     49....:     i+= 1
     50....:     print(M)
     51....:     if i == 3: break
     52}}}
     53with this more concise:
     54{{{
     55sage: gen = MS.symmetric_matrices(f)
     56sage: [next(gen) for _ in range(3)]
     57}}}
     58
     59Remove spaces around `M` in {{{def make_symmetric( M ):}}}.
     60
    3961Simplify "can't have symmetric matrices if they are not square"
    4062to "symmetric matrices must be square" or "only square matrices