This is documentation for an old release of SciPy (version 0.11.0). Read this page in the documentation of the latest stable release (version 1.15.1).
Solve an ordinary or generalized eigenvalue problem for a complex Hermitian or real symmetric matrix.
Find eigenvalues w and optionally eigenvectors v of matrix a, where b is positive definite:
a v[:,i] = w[i] b v[:,i]
v[i,:].conj() a v[:,i] = w[i]
v[i,:].conj() b v[:,i] = 1
Parameters : | a : array, shape (M, M)
b : array, shape (M, M)
lower : boolean
eigvals_only : boolean
turbo : boolean
eigvals : tuple (lo, hi)
type: integer :
overwrite_a : boolean
overwrite_b : boolean
|
---|---|
Returns : | w : real array, shape (N,)
(if eigvals_only == False) : v : complex array, shape (M, N)
Raises LinAlgError if eigenvalue computation does not converge, : an error occurred, or b matrix is not definite positive. Note that : if input matrices are not symmetric or hermitian, no error is reported : but results will be wrong. : |
See also