numpy.linalg.eigvals()

numpy.linalg.eigvals

numpy.linalg.eigvals(a) [source]

Compute the eigenvalues of a general matrix.

Main difference between eigvals and eig: the eigenvectors aren’t returned.

Parameters:

a : (..., M, M)