bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / strsen_lwork
lapack_function
scipy.linalg._flapack:strsen_lwork
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def strsen_lwork(select, t, job = B)Summary
Query the workspace trsen needs for this select and job (LAPACK strsen with lwork = -1).
Extended Summary
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
select: ndarrayBoolean 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.t: ndarrayUpper (quasi-)triangular Schur form of shape
(n, n).job: str, optionalWhat to compute besides the reordering:
'N'nothing,'E'the cluster condition number s,'V'the separation sep,'B'both. Default is'B'.
Returns
work: floatOptimal
lworkfor the matchingtrsencall.iwork: intOptimal
liwork. The complex flavors have no integer workspace and do not return it.info: int0 on success; if negative, the
-info-th argument had an illegal value.
Aliases
scipy.linalg._flapack.strsen_lwork