scipy.linalg.lapack.ctgsen_lwork#
- scipy.linalg.lapack.ctgsen_lwork(select, a, b, ijob=4) = <flapack function ctgsen_lwork>#
Query the workspace
tgsenneeds for thisselectand ijob (LAPACKctgsenwithlwork = -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).- bndarray
Upper triangular factor of the pencil. The complex query reads both factors where the real one needs only a.
- ijobint, optional
What to compute besides the reordering, 0 through 5; 0 reorders only. Default is 4.
- Returns:
- workcomplex
Optimal lwork for the matching
tgsencall.- iworkint
Optimal liwork.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.