scipy.linalg.lapack.chegv_lwork#
- scipy.linalg.lapack.chegv_lwork(n, uplo='L') = <flapack function chegv_lwork>#
Query the optimal lwork for
chegv.- Parameters:
- nint
Order of the square matrix.
- uplostr, optional
'U'or'L'for the triangle of a to reference. Default is'L'– note that is the opposite of the lower=0 default elsewhere in this group, so the same matrix can give different answers between families.
- 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.