Ask Your Question

johndeas's profile - activity

2018-10-26 17:11:37 -0500 received badge  Notable Question (source)
2016-01-04 18:48:26 -0500 received badge  Popular Question (source)
2011-02-15 08:23:02 -0500 asked a question Badly formatted Cayley Table

Hi,

I am completely new to Sage. To test the visualization of a subgroup of SL(2)a, I entered the following code:

G=SL(2,ZZ)
identity = matrix(ZZ, [[1,0], [0,1]])
G.cayley_table(names='elements',elements=[identity, -identity])

which outputs

              *      [1 0]
[0 1] [-1  0]
[ 0 -1]
               +--------------------------------
    [1 0]
[0 1]|     [1 0]
[0 1] [-1  0]
[ 0 -1]
[-1  0]
[ 0 -1]| [-1  0]
[ 0 -1]     [1 0]
[0 1]

Am I missing something to get a correctly displayed result ?

Thanks !