ncols = nrows
@cached_method
- def to_list(self):
+ def to_nested_list(self):
r"""
SETUP::
+----+---+---+
| 0 | 0 | 0 |
+----+---+---+
- sage: (E00e0 + 2*E00e3).to_list()
+ sage: (E00e0 + 2*E00e3).to_nested_list()
[[e0 + 2*e3, 0, 0], [0, 0, 0], [0, 0, 0]]
"""
+----+----+----+
"""
- return table(self.to_list(), frame=True)._repr_()
+ return table(self.to_nested_list(), frame=True)._repr_()
def __getitem__(self, indices):
"""
i,j = indices
- return self.to_list()[i][j]
+ return self.to_nested_list()[i][j]
def trace(self):
r"""