bundles / scipy latest / scipy / linalg / _flapack / dgees
lapack_function
scipy.linalg._flapack:dgees
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Summary
Compute the Schur factorization of a general matrix (LAPACK dgees).
Parameters
dselect: callableEigenvalue selector, called as
dselect(wr, wi)with the real and imaginary parts. Used only when sort_t is nonzero; return true to move that eigenvalue to the leading block.a: ndarraySquare matrix of shape
(n, n).compute_v: int, optionalIf nonzero, the Schur vectors are computed. Default is 1.
sort_t: int, optionalIf nonzero, eigenvalues are sorted using the selector. Default is 0.
lwork: int, optionalSize of the workspace. Default is
3 * n. 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.
Returns
t: ndarraySchur form of a.
sdim: intNumber of eigenvalues the selector accepted; 0 when sort_t is 0.
wr: ndarrayReal parts of the eigenvalues.
wi: ndarrayImaginary parts of the eigenvalues; conjugate pairs appear adjacently.
vs: ndarraySchur vectors, or a
(1, n)placeholder when compute_v 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 QR algorithm failed or the selected block could not be reordered.
Aliases
scipy.linalg._flapack.dgees