Changes between Initial Version and Version 1 of Ticket #18987, comment 44


Ignore:
Timestamp:
08/11/15 11:54:06 (4 years ago)
Author:
slabbe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18987, comment 44

    initial v1  
    66> In `ncube_isometry_group_modpi` why are you building `MatrixGroup`?
    77
    8 Maybe for nothing. Let me check.
     8Because otherwise, this
     9
     10{{{
     11G = ncube_isometry_group(n, orientation_preserving)
     12H = [h for h in G if all(i==j for (i,j) in h.nonzero_positions())]
     13left_cosets = set(tuple(sorted(h*g for h in H)) for g in G)
     14}}}
     15
     16throws a {{{TypeError: mutable matrices are unhashable}}} and I find it more fun to read like this instead of the `.set_immutable()` on every matrices.