G=G[0:5,0:5];

G[0:4,0:4];

G[5,5]=4 ;

It is "IndexError: matrix Index out of range";

Traceback (click to the left of this block for traceback)
...
IndexError: matrix index out of range

Traceback (most recent call last):    from sage.matrix import constructor
  File "", line 1, in <module>

  File "/tmp/tmpENgNvH/___code___.py", line 21, in <module>
    G[_sage_const_13 ]
  File "matrix0.pyx", line 925, in sage.matrix.matrix0.Matrix.__getitem__ (sage/matrix/matrix0.c:5343)
IndexError: matrix index out of range

Pratap-2.6-5 (last edited 2010-12-17 11:25:13 by sprint_first)