bundles / scipy latest / scipy / linalg / _flapack / zheevx
lapack_function
scipy.linalg._flapack:zheevx
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Compute selected eigenvalues and optionally eigenvectors of a Hermitian matrix (LAPACK zheevx).
Parameters
a: ndarrayHermitian matrix of shape
(n, n).compute_v: int, optionalIf nonzero, eigenvectors are computed as well as eigenvalues. Default is 1.
range: str, optional'A'for all eigenvalues,'V'for those in(vl, vu],'I'for those indexed il through iu. Default is'A'.lower: int, optionalIf nonzero, the lower triangle of
ais referenced; otherwise the upper. Default is 0.vl: float, optionalLower bound of the interval; used only when range is
'V'. Default is 0.0.vu: float, optionalUpper bound of the interval; used only when range is
'V'. Default is 1.0.il: int, optionalIndex of the smallest eigenvalue to return, 1-based; used only when range is
'I'. Default is 1.iu: int, optionalIndex of the largest eigenvalue to return, 1-based; used only when range is
'I'. Default isn.abstol: float, optionalAbsolute error tolerance for the eigenvalues. Default is 0.0.
lwork: int, optionalSize of the workspace. Default is
max(2 * n, 1). Usezheevx_lworkfor the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
w: ndarrayEigenvalues in ascending order, length
n. Real for every flavor.z: ndarrayThe m computed eigenvectors as columns, or empty when compute_v is 0.
m: intNumber of eigenvalues found.
ifail: ndarrayIndices of eigenvectors that failed to converge, 1-based.
info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, the algorithm failed to converge.
Aliases
scipy.linalg._flapack.zheevx