DLAED3(3)
π DLAED3(3) π
okay so real talk: this page lives in the Library Functions Manual (the LAPACK one, bestie, not some random manual), and it's all about one very specific little workhorse subroutine. buckle up π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaed3.fβ yeah that's the whole NAME section, it's literally just the file path, slay π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine DLAED3 (k, n, n1, d, q, ldq, rho, dlambda, q2, indx, ctot, w,
s, info)
DLAED3 used by DSTEDC. Finds the roots of the secular equation and updates the eigenvectors. Used when the original matrix is tridiagonal. no cap, that's the whole vibe β¨
πΈ Function/Subroutine Documentation πΈ
subroutine DLAED3 (integer k, integer n, integer n1, double precision,
dimension( * ) d, double precision, dimension( ldq, * ) q, integer ldq,
double precision rho, double precision, dimension( * ) dlambda, double
precision, dimension( * ) q2, integer, dimension( * ) indx, integer,
dimension( * ) ctot, double precision, dimension( * ) w, double
precision, dimension( * ) s, integer info)
DLAED3 used by DSTEDC. Finds the roots of the secular equation and updates the eigenvectors. Used when the original matrix is tridiagonal. (yes it's the same sentence twice, the manpage said it twice, so we say it twice π)
π― Purpose π―
DLAED3finds the roots of the secular equation, as defined by the values inD,W, andRHO, between 1 andK. It makes the appropriate calls toDLAED4and then updates the eigenvectors by multiplying the matrix of eigenvectors of the pair of eigensystems being combined by the matrix of eigenvectors of theK-by-Ksystem which is solved here.
like, it's giving "solve the math, then fix up the eigenvectors" energy π
π₯ Parameters π₯
KβKisINTEGER. The number of terms in the rational function to be solved byDLAED4.K >= 0. (so zero is allowed, bestie, but nothing negative π)NβNisINTEGER. The number of rows and columns in theQmatrix.N >= K(deflation may result inN>K). lowkey important: deflation can makeNbigger thanK, that's not a bug, that's the vibe check passing βN1βN1isINTEGER. The location of the last eigenvalue in the leading submatrix.min(1,N) <= N1 <= N/2. okay so that's the range, memorize it fr fr πDβDisDOUBLE PRECISIONarray, dimension(N).D(I)contains the updated eigenvalues for1 <= I <= K. fresh eigenvalues, iconic β¨QβQisDOUBLE PRECISIONarray, dimension(LDQ,N). Initially the firstKcolumns are used as workspace. On output the columns1toKcontain the updated eigenvectors. so it starts as scratch space and leaves as glow-up eigenvectors πLDQβLDQisINTEGER. The leading dimension of the arrayQ.LDQ >= max(1,N). don't you dare go smaller π¨RHOβRHOisDOUBLE PRECISION. The value of the parameter in the rank one update equation.RHO >= 0required. non-negative or it's a no from me π ββοΈDLAMBDAβDLAMBDAisDOUBLE PRECISIONarray, dimension(K). The firstKelements of this array contain the old roots of the deflated updating problem. These are the poles of the secular equation. poles!! very main character math π§Q2βQ2isDOUBLE PRECISIONarray, dimension(LDQ2*N). The firstKcolumns of this matrix contain the non-deflated eigenvectors for the split problem. no notes, iconic array π«ΆINDXβINDXisINTEGERarray, dimension(N). The permutation used to arrange the columns of the deflatedQmatrix into three groups (seeDLAED2). The rows of the eigenvectors found byDLAED4must be likewise permuted before the matrix multiply can take place. like, you gotta shuffle everything the same way or it's chaos πCTOTβCTOTisINTEGERarray, dimension(4). A count of the total number of the various types of columns inQ, as described inINDX. The fourth column type is any column which has been deflated. four slots, four column types, keep up bestie πWβWisDOUBLE PRECISIONarray, dimension(K). The firstKelements of this array contain the components of the deflation-adjusted updating vector. Destroyed on output. β οΈ literally destroyed, so don't come crying to me when yourWis gone, it said so πSβSisDOUBLE PRECISIONarray, dimension(N1 + 1)*K. Will contain the eigenvectors of the repaired matrix which will be multiplied by the previously accumulated eigenvectors to update the system. repaired matrix!!! she's healing πINFOβINFOisINTEGER. here's the whole mood board:= 0: successful exit. we love to see it β< 0: ifINFO = -i, the i-th argument had an illegal value. oops, somebody passed something cursed π¬> 0: ifINFO = 1, an eigenvalue did not converge. π©π© not the convergence failure
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad showed up for this one π
π Contributors: π
- Jeff Rutter, Computer Science Division, University of California at Berkeley, USA
- Modified by Francoise Tisseur, University of Tennessee
shoutout to the contributors, we see you and we appreciate you π«Άπ
Definition at line 175 of file dlaed3.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code. robot-generated and still cute, iykyk π€β¨
okay so that's the whole page bestie, and for the sign-off: this is LAPACK Version 3.12.0, and the file is /home/abui...RC/dlaed3.f(3) β the same page we started on, full circle, periodt π
ππΈ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms