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 !
I'm not sure that Cayley tables work well when the string representations of elements have multiple lines. I'm reporting it as a bug: see http://trac.sagemath.org/sage_trac/ticket/10787.