eigenvalues of matrices or operators