bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / dsyev
lapack_function
scipy.linalg._flapack:dsyev
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def dsyev(a, compute_v = 1, lower = 0, lwork = Ellipsis, overwrite_a = 0)Summary
Compute the eigenvalues and optionally the eigenvectors of a real symmetric matrix (LAPACK dsyev).
Parameters
a: ndarraySymmetric matrix of shape
(n, n).compute_v: int, optionalIf nonzero, eigenvectors are computed as well as eigenvalues. Default is 1.
lower: int, optionalIf nonzero, the lower triangle of
ais referenced; otherwise the upper. Default is 0.lwork: int, optionalSize of the workspace. Default is
max(3 * n - 1, 1). Usedsyev_lworkfor the optimal value.overwrite_a: int, optionalIf nonzero, a may be overwritten in place. Default is 0.
Returns
w: ndarrayEigenvalues in ascending order, length
n. Real for every flavor.v: ndarrayOrthonormal eigenvectors as columns when
compute_vis nonzero; otherwise the contents are not meaningful.info: int0 on success; if negative, the
-info-th argument had an illegal value; if positive, the algorithm failed to converge.
Aliases
scipy.linalg._flapack.dsyev