A = matrix(ZZ, [[-10, 10, -15],[10, 5, -30],[-5,- 10, 0]])
print 'spectrum = ' ,str(A.eigenvalues())

A.eigenspaces()