scipy.linalg.lapack.dsygv_lwork#

scipy.linalg.lapack.dsygv_lwork(n, uplo='L') = <flapack function dsygv_lwork>#

Query the optimal lwork for dsygv.

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:
workfloat

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.