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)
b : array, shape (M, M)
overwrite_a : boolean
|
---|---|
Returns: | w : double or complex array, shape (M,)
Raises LinAlgError if eigenvalue computation does not converge : |