1 | initial version |
Like that:
sage: M3 = MatrixSpace(QQ, 3)
sage: A = M3.matrix([[1, 0, 0], [0, -1, 0], [0, 0, -1]])
sage: B = M3.matrix([[0, 1, 0], [0, 0, 1], [1, 0, 0]])
sage: G = MatrixGroup([A,B])
sage: list(G)
[
[1 0 0] [-1 0 0] [0 0 1] [ 0 0 -1] [0 1 0] [ 0 -1 0]
[0 1 0] [ 0 -1 0] [1 0 0] [-1 0 0] [0 0 1] [ 0 0 -1]
[0 0 1], [ 0 0 1], [0 1 0], [ 0 1 0], [1 0 0], [ 1 0 0],
[ 1 0 0] [-1 0 0] [ 0 0 1] [ 0 0 -1] [ 0 1 0] [ 0 -1 0]
[ 0 -1 0] [ 0 1 0] [-1 0 0] [ 1 0 0] [ 0 0 -1] [ 0 0 1]
[ 0 0 -1], [ 0 0 -1], [ 0 -1 0], [ 0 -1 0], [-1 0 0], [-1 0 0]
]