scipy.linalg.lapack.stgsen_lwork#

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

Query the workspace tgsen needs for this select and ijob (LAPACK stgsen 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).

ijobint, optional

What to compute besides the reordering, 0 through 5; 0 reorders only. Default is 4.

Returns:
workfloat

Optimal lwork for the matching tgsen call.

iworkint

Optimal liwork.

infoint

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