Matrix: fix __repr__ and __str__ so the printout is aligned
commit10638ad7b34f5b9ff449f8924ef0a8fae5c02517
authorKirill Smelkov <kirr@landau.phys.spbu.ru>
Sun, 16 Dec 2007 17:42:03 +0000 (16 20:42 +0300)
committerKirill Smelkov <kirr@landau.phys.spbu.ru>
Sun, 16 Dec 2007 17:42:03 +0000 (16 20:42 +0300)
treee3b4beb7819f63c140b1f45c9d1d1f55b58fad18
parent7eb8d844f311e804550f4fd5e2ff8725805ebedd
Matrix: fix __repr__ and __str__ so the printout is aligned

printing is based on code by Fredrik Johansson
#344

----

NB: Since Matrix inherits directly from object, for Basic.set_repr_level to
affect Matrix, I needed to create a proxy between Matrix and Basic.
#420
sympy/matrices/matrices.py
sympy/matrices/tests/test_matrices.py