This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / linalg / _flapack / dsygv_lwork

lapack_function

scipy.linalg._flapack:dsygv_lwork

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def dsygv_lwork(n, uplo = L)

Summary

Query the optimal lwork for dsygv.

Parameters

n : int

Order of the square matrix.

uplo : str, 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

work : float

Optimal size of the work array, as a scalar of the routine's dtype.

info : int

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

Aliases

  • scipy.linalg._flapack.dsygv_lwork