bundles / scipy latest / scipy / linalg / _flapack / dgeev
lapack_function
scipy.linalg._flapack:dgeev
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dgeev(a, compute_vl = 1, compute_vr = 1, lwork = Ellipsis, overwrite_a = 0)Summary
Compute the eigenvalues and eigenvectors of a general matrix (LAPACK dgeev).
Parameters
a: ndarraySquare matrix of shape
(n, n).compute_vl: int, optionalIf nonzero, left eigenvectors are computed. Default is 1.
compute_vr: int, optionalIf nonzero, right eigenvectors are computed. Default is 1.
lwork: int, optionalSize of the workspace. Default is
4 * n. Usegeev_lworkfor the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
wr: ndarrayReal parts of the eigenvalues.
wi: ndarrayImaginary parts; a conjugate pair occupies two adjacent entries, and its eigenvectors occupy the matching pair of columns as real and imaginary parts.
vl: ndarrayLeft eigenvectors, or a
(1, n)placeholder whencompute_vlis 0.vr: ndarrayRight eigenvectors, or a
(1, n)placeholder whencompute_vris 0.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, the algorithm failed to converge.
Aliases
scipy.linalg._flapack.dgeev