First time here? Check out the FAQ!
answered 2011-01-12 14:49:03 +0100
How about
m = matrix([[0,0,1], [1,0,0]]) print m.str().replace(' 0', ' .').replace('[0', '[.')
Should we add a method to the matrix class which does something like this? What should it be called?