scipy.linalg.eigvals(a, b=None, overwrite_a=False)

Compute eigenvalues from an ordinary or generalized eigenvalue problem.

Find eigenvalues of a general matrix:

a   vr[:,i] = w[i]        b   vr[:,i]
Parameters :

a : array, shape (M, M)

A complex or real matrix whose eigenvalues and eigenvectors will be computed.

b : array, shape (M, M)

Right-hand side matrix in a generalized eigenvalue problem. If omitted, identity matrix is assumed.

overwrite_a : boolean

Whether to overwrite data in a (may improve performance)

Returns :

w : double or complex array, shape (M,)

The eigenvalues, each repeated according to its multiplicity, but not in any specific order.

Raises LinAlgError if eigenvalue computation does not converge :

See also

eigenvalues of symmetric or Hemitiean arrays
eigenvalues and right eigenvectors of general arrays
eigenvalues and eigenvectors of symmetric/Hermitean arrays.

Previous topic


Next topic


This Page