a.eigenvalues()#returns[5,0,-1]