bundles / scipy latest / scipy / linalg / _flapack / ztgsen_lwork
lapack_function
scipy.linalg._flapack:ztgsen_lwork
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def ztgsen_lwork(select, a, b, ijob = 4)Summary
Query the workspace tgsen needs for this select and ijob (LAPACK ztgsen 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).b: ndarrayUpper triangular factor of the pencil. The complex query reads both factors where the real one needs only
a.ijob: int, optionalWhat to compute besides the reordering, 0 through 5; 0 reorders only. Default is 4.
Returns
work: complexOptimal
lworkfor the matchingtgsencall.iwork: intOptimal
liwork.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.ztgsen_lwork