scipy.linalg.lapack.ztrsen_lwork#

scipy.linalg.lapack.ztrsen_lwork(select, t, job='B') = <flapack function ztrsen_lwork>#

Query the workspace trsen needs for this select and job (LAPACK ztrsen with lwork = -1).

select and t are read for real: LAPACK has to scan them to work out the cluster size before it can size the workspace.

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.

tndarray

Upper (quasi-)triangular Schur form of shape (n, n).

jobstr, optional

What to compute besides the reordering: 'N' nothing, 'E' the cluster condition number s, 'V' the separation sep, 'B' both. Default is 'B'.

Returns:
workcomplex

Optimal lwork for the matching trsen call.

infoint

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