bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dgges
lapack_function
scipy.linalg._flapack:dgges
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Compute the generalized Schur factorization of a matrix pair (LAPACK dgges).
Parameters
dselect: callableGeneralized-eigenvalue selector, called as
dselect(alphar, alphai, beta). Used only when sort_t is nonzero.a: ndarraySquare matrix of shape
(n, n).b: ndarraySquare matrix of shape
(n, n), the second member of the pair.jobvsl: int, optionalIf nonzero, the left Schur vectors are computed. Default is 1.
jobvsr: int, optionalIf nonzero, the right Schur vectors are computed. Default is 1.
sort_t: int, optionalIf nonzero, eigenvalues are sorted using the selector. Default is 0.
ldvsl: int, optionalLeading dimension of vsl. Default is
nwhen jobvsl is nonzero, else 1.ldvsr: int, optionalLeading dimension of vsr. Default is
nwhen jobvsr is nonzero, else 1.lwork: int, optionalSize of the workspace. Default is
8 * n + 16. Usethe value reported in work[0]for the optimal value.dselect_extra_args: tuple, optionalExtra positional arguments appended to every selector call. Default is
().overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
overwrite_b: int, optionalIf nonzero,
bmay be overwritten in place. Default is 0.
Returns
a: ndarrayGeneralized Schur form of a.
b: ndarrayGeneralized Schur form of b.
sdim: intNumber of eigenvalues the selector accepted; 0 when sort_t is 0.
alphar: ndarrayReal parts of the numerators of
alpha / beta.alphai: ndarrayImaginary parts of the numerators of
alpha / beta.beta: ndarrayDenominators of the generalized eigenvalues.
vsl: ndarrayLeft Schur vectors, or a placeholder when jobvsl is 0.
vsr: ndarrayRight Schur vectors, or a placeholder when jobvsr is 0.
work: ndarrayWorkspace actually used;
work[0]is the optimal lwork.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, the QZ algorithm failed or the selected block could not be reordered.
Aliases
scipy.linalg._flapack.dgges