1 | initial version |
Single-line solution:
[M.change_ring(ZZ) for s in GL(GF(2),2) if not (M:=Matrix(s)).is_symmetric()]
2 | No.2 Revision |
Single-line solution:
[M.change_ring(ZZ) for s in GL(GF(2),2) GL(2,GF(2)) if not (M:=Matrix(s)).is_symmetric()]
3 | No.3 Revision |
Single-line solution:
[M.change_ring(ZZ) for s v in GL(2,GF(2)) Tuples((0,1),4) if not (M:=Matrix(s)).is_symmetric()]
(M:=Matrix(2,2,v)).is_symmetric()]
4 | No.4 Revision |
Single-line solution:
[M.change_ring(ZZ) [M for v in Tuples((0,1),4) if not (M:=Matrix(2,2,v)).is_symmetric()]
5 | No.5 Revision |
Single-line solution:
W = [M for v in Tuples((0,1),4) if not (M:=Matrix(2,2,v)).is_symmetric()]