A = matrix(ZZ, [[10,-4],[18,-12]])
print 'spectrum = ' ,str(A.eigenvalues())

A.eigenspaces()