A = matrix(ZZ, [[1,2],[0,3]])
print 'spectrum = ' ,str(A.eigenvalues())

A.eigenspaces()