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

bundles / scipy latest / scipy / linalg / _flapack / ztgsen_lwork

lapack_function

scipy.linalg._flapack:ztgsen_lwork

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

Signature

def ztgsen_lwork(select, a, b, ijob = 4)

Summary

Query the workspace tgsen needs for this select and ijob (LAPACK ztgsen with lwork = -1).

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.

a : ndarray

Upper (quasi-)triangular factor of the pencil, shape (n, n).

b : ndarray

Upper triangular factor of the pencil. The complex query reads both factors where the real one needs only a.

ijob : int, optional

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

Returns

work : complex

Optimal lwork for the matching tgsen call.

iwork : int

Optimal liwork.

info : int

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

Aliases

  • scipy.linalg._flapack.ztgsen_lwork