Solve an ordinary or generalized eigenvalue problem of a square matrix.
Find eigenvalues w and right or left eigenvectors of a general matrix:
a vr[:,i] = w[i] b vr[:,i]
a.H vl[:,i] = w[i].conj() b.H vl[:,i]
where .H is the Hermitian conjugation.
Parameters : | a : array_like, shape (M, M)
b : array_like, shape (M, M), optional
left : bool, optional
right : bool, optional
overwrite_a : bool, optional
overwrite_b : bool, optional
|
---|---|
Returns : | w : double or complex ndarray
vl : double or complex ndarray
vr : double or complex array
|
Raises : | LinAlgError :
|
See also