scipy.linalg.lapack.stgsen_lwork#
- scipy.linalg.lapack.stgsen_lwork(select, a, ijob=4) = <flapack function stgsen_lwork>#
Query the workspace
tgsenneeds for thisselectand ijob (LAPACKstgsenwithlwork = -1).- Parameters:
- selectndarray
Boolean 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.- andarray
Upper (quasi-)triangular factor of the pencil, shape
(n, n).- ijobint, optional
What to compute besides the reordering, 0 through 5; 0 reorders only. Default is 4.
- Returns:
- workfloat
Optimal lwork for the matching
tgsencall.- iworkint
Optimal liwork.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.