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 : (M, M) array_like
b : (M, M) array_like, optional
left : bool, optional
right : bool, optional
overwrite_a : bool, optional
overwrite_b : bool, optional
check_finite : boolean, optional
|
---|---|
Returns : | w : (M,) double or complex ndarray
vl : (M, M) double or complex ndarray
vr : (M, M) double or complex ndarray
|
Raises : | LinAlgError :
|
See also