bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / sstebz
lapack_function
scipy.linalg._flapack:sstebz
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def sstebz(d, e, range, vl, vu, il, iu, tol, order)Summary
Compute selected eigenvalues of a symmetric tridiagonal matrix by bisection (LAPACK sstebz).
Parameters
d: ndarrayDiagonal elements of the symmetric tridiagonal matrix, length
n.e: ndarrayOff-diagonal elements, length
n - 1.range: intWhich eigenvalues to compute: 0 for all, 1 for those in
(vl, vu], 2 for those with indicesilthroughiu.vl: floatLower bound of the half-open interval; used only when range is 1.
vu: floatUpper bound of the half-open interval; used only when range is 1.
il: intIndex of the smallest eigenvalue to return, 1-based; used only when
rangeis 2.iu: intIndex of the largest eigenvalue to return, 1-based; used only when
rangeis 2.tol: floatAbsolute tolerance for the eigenvalues. If not positive, machine precision times the matrix norm is used.
order: str'B'to order eigenvalues within each block,'E'to order the whole set in ascending order.
Returns
m: intNumber of eigenvalues found; only
w[:m]is meaningful.w: ndarrayThe computed eigenvalues, in the order selected by
order.iblock: ndarrayBlock index of each eigenvalue:
w[i]belongs to submatrixiblock[i], 1-based. A nonpositive entry marks an eigenvalue that failed to converge.isplit: ndarraySplitting points: submatrix
ispans rowsisplit[i-1]throughisplit[i] - 1, 1-based.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, some eigenvalues failed to converge or were not counted reliably.
Aliases
scipy.linalg._flapack.sstebz