Revision history [back]

An imperfection about the output format of group algebra

Hi, guys. I am not sure that whether there has some else came across the same problem with me. I wanted to compute some formula in the algebra of linear group GL(2,F_q) for some prime power q. Then I asked sage to print the result for me, the format was quite weird. Each row of the 2X2 matrix got printed in two lines. It was something like: 2*[1 0] [0 1] + [1 0] [1 1] + [ 1 0] [g^2 + 1 1] + [ 1 0] [g^2 g] + [ 1 0] [g^2 + 1 g] + [ 1 0] [ 0 g^2] + [ 1 0] [g^2 g^2] + [ 1 0] [ 1 g^2 + 1] + [ 1 0] [ g g^2 + 1] + [g 0] [g 1] + [ g 0] [ 1 g + 1] I think the results can be printed in a more perfect way.

 2 No.2 Revision kcrisman 12072 ●38 ●126 ●246

An imperfection about the output format of group algebra

Hi, guys. I am not sure that whether there has some else came across the same problem with me. I wanted to compute some formula in the algebra of linear group GL(2,F_q) for some prime power q. Then I asked sage to print the result for me, the format was quite weird. Each row of the 2X2 matrix got printed in two lines. It was something like: like:

 2*[1 0]
[0 1] + [1 0]
[1 1] + [      1       0]
[g^2 + 1       1] + [  1   0]
[g^2   g] + [      1       0]
[g^2 + 1       g] + [  1   0]
[  0 g^2] + [  1   0]
[g^2 g^2] + [      1       0]
[      1 g^2 + 1] + [      1       0]
[      g g^2 + 1] + [g 0]
[g 1] + [    g     0]
[    1 g + 1]
1]


I think the results can be printed in a more perfect way.