scipy.linalg.lapack.ztgsen_lwork#

scipy.linalg.lapack.ztgsen_lwork(select, a, b, ijob=4) = <flapack function ztgsen_lwork>#

Query the workspace tgsen needs for this select and ijob (LAPACK ztgsen with lwork = -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 tgsen call.

iworkint

Optimal liwork.

infoint

0 on success; if negative, the -info-th argument had an illegal value.