scipy.linalg.lapack.cheev_lwork#

scipy.linalg.lapack.cheev_lwork(n, lower=0) = <flapack function cheev_lwork>#

Query the optimal lwork for cheev.

Parameters:
nint

Order of the square matrix.

lowerint, optional

If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.

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.