m=matrix(QQ,[[2,0,-1],[5,1,0],[0,1,3]])
m.inverse()