bundles / scipy latest / scipy / linalg / _flapack / sstemr_lwork
lapack_function
scipy.linalg._flapack:sstemr_lwork
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def sstemr_lwork(d, e, range, vl, vu, il, iu, compute_v = 1, overwrite_d = 0, overwrite_e = 0)Summary
Query the optimal lwork and liwork for sstemr.
Parameters
d: ndarrayDiagonal elements of the symmetric tridiagonal matrix, length
n.e: ndarrayOff-diagonal elements in the leading
n - 1entries, lengthn.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.compute_v: int, optionalIf nonzero, eigenvectors are computed. Default is 1.
overwrite_d: int, optionalIf nonzero, d may be overwritten in place. Default is 0.
overwrite_e: int, optionalIf nonzero,
emay be overwritten in place. Default is 0.
Returns
work: floatOptimal size of the work array, as a scalar of the routine's dtype.
iwork: intOptimal size of the integer workspace, to pass as
liwork.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.sstemr_lwork