scipy.linalg.lapack.zgeev#

scipy.linalg.lapack.zgeev(a, compute_vl=1, compute_vr=1, lwork=..., overwrite_a=0) = <flapack function zgeev>#

Compute the eigenvalues and eigenvectors of a general matrix (LAPACK zgeev).

Parameters:
andarray

Square matrix of shape (n, n).

compute_vlint, optional

If nonzero, left eigenvectors are computed. Default is 1.

compute_vrint, optional

If nonzero, right eigenvectors are computed. Default is 1.

lworkint, optional

Size of the workspace. Default is 2 * n. Use geev_lwork for the optimal value.

overwrite_aint, optional

If nonzero, a may be overwritten in place. Default is 0.

Returns:
wndarray

Eigenvalues, in no particular order.

vlndarray

Left eigenvectors, or a (1, n) placeholder when compute_vl is 0.

vrndarray

Right eigenvectors, or a (1, n) placeholder when compute_vr is 0.

infoint

0 on success; if negative, the -info-th argument had an illegal value; if positive, the algorithm failed to converge.