This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / ztrsen_lwork

lapack_function

scipy.linalg._flapack:ztrsen_lwork

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def ztrsen_lwork(select, t, job = B)

Summary

Query the workspace trsen needs for this select and job (LAPACK ztrsen 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 : ndarray

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.

t : ndarray

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

job : str, 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

work : complex

Optimal lwork for the matching trsen call.

info : int

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

Aliases

  • scipy.linalg._flapack.ztrsen_lwork