scipy.linalg.lapack.cheevr_lwork#

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

Query the optimal workspace sizes for cheevr.

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.

rworkfloat

Optimal size of the real workspace, to pass as lrwork.

iworkint

Optimal size of the integer workspace, to pass as liwork.

infoint

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