scipy.linalg.lapack.zheevd_lwork#
- scipy.linalg.lapack.zheevd_lwork(n, compute_v=1, lower=0) = <flapack function zheevd_lwork>#
Query the optimal workspace sizes for
zheevd.- Parameters:
- nint
Order of the square matrix.
- compute_vint, optional
If nonzero, eigenvectors are computed as well as eigenvalues. Default is 1.
- 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.
- iworkint
Optimal size of the integer workspace, to pass as liwork.
- rworkfloat
Optimal size of the real workspace, to pass as lrwork. The real flavors have no such output, so they return one value fewer.
- infoint
0 on success; if negative, the
-info-th argument had an illegal value.