SRC/dsyev.f(3)
π SRC/dsyev.f(3) β Library Functions Manual π
Bestie, welcome to the manual page for SRC/dsyev.f(3). It's giving LAPACK, it's giving linear algebra, and it's literally about to make eigenvalues make sense. Buckle up π
NAME
SRC/dsyev.f
That's it. Short, iconic, no notes. π
SYNOPSIS
Functions/Subroutines
subroutine dsyev (jobz, uplo, n, a, lda, w, work, lwork, info)β DSYEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for SY matrices
subroutine dsyev (jobz, uplo, n, a, lda, w, work, lwork, info)
Function/Subroutine Documentation
subroutine dsyev (character jobz, character uplo, integer n, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) w, double precision, dimension( * ) work, integer lwork, integer info)
DSYEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for SY matrices
Purpose
Okay so the whole point, bestie: DSYEV computes all eigenvalues and, optionally, eigenvectors of a real symmetric matrix A. That's the vibe. β¨
Parameters
JOBZβJOBZisCHARACTER*1= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
UPLOβUPLOisCHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NβNisINTEGER- The order of the matrix
A.N >= 0.
- The order of the matrix
AβAisDOUBLE PRECISIONarray, dimension(LDA, N)- On entry, the symmetric matrix
A. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA. - On exit, if
JOBZ = 'V', then ifINFO = 0,Acontains the orthonormal eigenvectors of the matrixA. - If
JOBZ = 'N', then on exit the lower triangle (ifUPLO='L') or the upper triangle (ifUPLO='U') ofA, including the diagonal, is destroyed.
- On entry, the symmetric matrix
π«Ά Yes bestie, "destroyed" is the actual word. Your triangle is gone. Do not come for me, come for the LAPACK authors.
LDAβLDAisINTEGER- The leading dimension of the array
A.LDA >= max(1,N).
- The leading dimension of the array
WβWisDOUBLE PRECISIONarray, dimension(N)- If
INFO = 0, the eigenvalues in ascending order.
- If
WORKβWORKisDOUBLE PRECISIONarray, dimension(MAX(1,LWORK))- On exit, if
INFO = 0,WORK(1)returns the optimalLWORK.
- On exit, if
LWORKβLWORKisINTEGER- The length of the array
WORK.LWORK >= max(1,3*N-1). - For optimal efficiency,
LWORK >= (NB+2)*N, whereNBis the blocksize forDSYTRDreturned byILAENV. - If
LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.
- The length of the array
β οΈ Bestie, do not ignore the LWORK = -1 workspace-query behavior. It is not a drill, it is a whole mode.
INFOβINFOisINTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i, the algorithm failed to converge;ioff-diagonal elements of an intermediate tridiagonal form did not converge to zero.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 131 of file dsyev.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Later, bestie! π This was SRC/dsyev.f(3) from LAPACK Version 3.12.0 β eigenvalues found, triangles possibly destroyed, vibes immaculate. Mwah πβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms