This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dsyevd_lwork

lapack_function

scipy.linalg._flapack:dsyevd_lwork

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

Signature

def dsyevd_lwork(n, compute_v = 1, lower = 0)

Summary

Query the optimal workspace sizes for dsyevd.

Parameters

n : int

Order of the square matrix.

compute_v : int, optional

If nonzero, eigenvectors are computed as well as eigenvalues. Default is 1.

lower : int, optional

If nonzero, the lower triangle of a is referenced; otherwise the upper. Default is 0.

Returns

work : float

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

iwork : int

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

info : int

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

Aliases

  • scipy.linalg._flapack.dsyevd_lwork