SRC/dspev.f(3)
SRC/dspev.f(3) โ Library Functions Manual vibes ๐
Hey bestie! ๐ This is the page for SRC/dspev.f(3) from the Library Functions Manual. Itโs LAPACK, itโs Fortran, itโs giving main-character linear algebra. Letโs get into it. โจ
๐ NAME
SRC/dspev.f
Thatโs the name, no cap. ๐
โจ SYNOPSIS
Functions/Subroutines
subroutine dspev (jobz, uplo, n, ap, w, z, ldz, work, info)
DSPEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices โ yes, โOTHERโ is loud on purpose. ๐ฅ
๐ Function/Subroutine Documentation
subroutine dspev (character jobz, character uplo, integer n, double
precision, dimension( * ) ap, double precision, dimension( * ) w, double
precision, dimension( ldz, * ) z, integer ldz, double precision,
dimension( * ) work, integer info)
DSPEV computes the eigenvalues and, optionally, the left and/or right eigenvectors for OTHER matrices
๐ฏ Purpose
Okay so the purpose is literally this: DSPEV computes all the eigenvalues and, optionally, eigenvectors of a real symmetric matrix A in packed storage. Slay. โจ
๐งฎ Parameters
JOBZโJOBZ is CHARACTER*1= 'N': Compute eigenvalues only;= 'V': Compute eigenvalues and eigenvectors.
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NโN is INTEGER; the order of the matrixA.N >= 0.APโAP is DOUBLE PRECISION array, dimension (N*(N+1)/2). On entry, the upper or lower triangle of the symmetric matrixA, packed columnwise in a linear array. Thej-th column ofAis stored in the arrayAPas follows:if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;if UPLO = 'L', AP(i + (j-1)*(2*n-j)/2) = A(i,j) for j<=i<=n.On exit,APis overwritten by values generated during the reduction to tridiagonal form. IfUPLO = 'U', the diagonal and first superdiagonal of the tridiagonal matrixToverwrite the corresponding elements ofA, and ifUPLO = 'L', the diagonal and first subdiagonal ofToverwrite the corresponding elements ofA.WโW is DOUBLE PRECISION array, dimension (N). IfINFO = 0, the eigenvalues in ascending order.ZโZ is DOUBLE PRECISION array, dimension (LDZ, N). IfJOBZ = 'V', then ifINFO = 0,Zcontains the orthonormal eigenvectors of the matrixA, with thei-th column ofZholding the eigenvector associated withW(i). IfJOBZ = 'N', thenZis not referenced.LDZโLDZ is INTEGER; the leading dimension of the arrayZ.LDZ >= 1, and ifJOBZ = 'V',LDZ >= max(1,N).WORKโWORK is DOUBLE PRECISION array, dimension (3*N).INFOโINFO is INTEGER= 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 129 of file dspev.f.
๐ง Author
Generated automatically by Doxygen for LAPACK from the source code.
๐ Thatโs the whole vibe, bestie! ๐ Footer sign-off: LAPACK Version 3.12.0, SRC/dspev.f(3). No separate date is printed on the footer โ just version/file energy. Now go pack a symmetric matrix and slay. ๐
โจ
๐ฆ 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