scipy.linalg.lapack.cgeev_lwork#

scipy.linalg.lapack.cgeev_lwork(n, compute_vl=1, compute_vr=1) = <flapack function cgeev_lwork>#

Query the optimal lwork for cgeev.

Parameters:
nint

Order of the square matrix.

compute_vlint, optional

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

compute_vrint, optional

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

Returns:
workcomplex

Optimal size of the work array, as a scalar of the routine’s dtype.

infoint

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