bundles / scipy latest / scipy / linalg / _flapack / stgsen_lwork
lapack_function
scipy.linalg._flapack:stgsen_lwork
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def stgsen_lwork(select, a, ijob = 4)Summary
Query the workspace tgsen needs for this select and ijob (LAPACK stgsen with lwork = -1).
Parameters
select: ndarrayBoolean mask of length
n: the eigenvalues it marks are gathered into the leading block. A bool array works; LAPACK reads it as a Fortran LOGICAL.a: ndarrayUpper (quasi-)triangular factor of the pencil, shape
(n, n).ijob: int, optionalWhat to compute besides the reordering, 0 through 5; 0 reorders only. Default is 4.
Returns
work: floatOptimal
lworkfor the matchingtgsencall.iwork: intOptimal
liwork.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.stgsen_lwork