SRC/ssyev.f(3)
π SRC/ssyev.f π
okay so bestie, welcome to the Library Functions Manual β¨ this is the page for SRC/ssyev.f, and honestly? it's giving linear algebra main character energy. buckle up π
πΈ NAME πΈ
SRC/ssyev.f β the file, the myth, the legend π¦
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ssyev (jobz, uplo, n, a, lda, w, work, lwork, info)β SSYEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for SY matrices. that's the whole vibe π
Function/Subroutine Documentation
subroutine ssyev (character jobz, character uplo, integer n, real,
dimension( lda, * ) a, integer lda, real, dimension( * ) w, real,
dimension( * ) work, integer lwork, integer info)
SSYEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for SY matrices. no cap π₯
π§ Purpose:
!>
!> SSYEV computes all eigenvalues and, optionally, eigenvectors of a
!> real symmetric matrix A.
!>
so likeβ¦ all the eigenvalues, and if you ask nicely, the eigenvectors too π«Ά
π Parameters π
JOBZβJOBZisCHARACTER*1. the personality selector, basically:= 'N': compute eigenvalues only;= 'V': compute eigenvalues and eigenvectors.
pick your fighter π
UPLOβUPLOisCHARACTER*1. which triangle ofAis the real one:= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored.
(the other triangle is justβ¦ not invited to the party π)
NβNisINTEGER. the order of the matrixA.N >= 0. yes, zero is allowed, she's valid too πAβAisREAL array, dimension (LDA, N).- on entry: the symmetric matrix
A. ifUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA. ifUPLO = 'L', the leading N-by-N lower 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 π like, gone gone. she did not survive the process. be aware, bestie.
- on entry: the symmetric matrix
LDAβLDAisINTEGER. the leading dimension of the arrayA.LDA >= max(1,N). respect the boundary β¨WβWisREAL array, dimension (N). ifINFO = 0, the eigenvalues in ascending order. sorted, organized, iconic πWORKβWORKisREAL array, dimension (MAX(1,LWORK)). on exit, ifINFO = 0,WORK(1)returns the optimalLWORK. she's a little hint-giver πLWORKβLWORKisINTEGER. the length of the arrayWORK.LWORK >= max(1,3*N-1). for optimal efficiency,LWORK >= (NB+2)*N, whereNBis the blocksize forSSYTRDreturned byILAENV.
ifLWORK = -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. very "just asking, not committing" of her π
INFOβINFOisINTEGER. the status report:= 0: successful exit π< 0: ifINFO = -i, the i-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. π she tried her best but the tridiagonal situation was not cooperating.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 131 of file ssyev.f. β
π Author π
Generated automatically by Doxygen for LAPACK from the source code. so yes, a robot transcribed this and we're all grateful π«Ά
ngl this whole page is a glow-up for your linear algebra era. eigenvalues? computed. eigenvectors? optional but slay. triangle ofA? destroyed if you saidJOBZ = 'N'. periodt. π
big kiss from LAPACK, Version 3.12.0, dated the day this page was born β see you in the SEE ALSOs of your dreams, bestie π¦ππ
π¦ 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