SRC/zlaed8.f(3)
π bestie, this is the SRC/zlaed8.f(3) page for zlaed8 β lowkey iconic LAPACK lore π
πΈ NAME πΈ
SRC/zlaed8.f β the file, the moment, the legend.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
zlaed8β the subroutine, bestie.
subroutine zlaed8 (k, n, qsiz, q, ldq, d, rho, cutpnt, z, dlambda, q2,
ldq2, w, indxp, indx, indxq, perm, givptr, givcol, givnum, info)
ZLAED8 used by ZSTEDC. Merges eigenvalues and deflates secular equation. Used when the original matrix is dense.
π«Ά Function/Subroutine Documentation π«Ά
π subroutine zlaed8 π
subroutine zlaed8 (integer k, integer n, integer qsiz, complex*16,
dimension( ldq, * ) q, integer ldq, double precision, dimension( * ) d,
double precision rho, integer cutpnt, double precision, dimension( * )
z, double precision, dimension( * ) dlambda, complex*16, dimension(
ldq2, * ) q2, integer ldq2, double precision, dimension( * ) w, integer,
dimension( * ) indxp, integer, dimension( * ) indx, integer, dimension(
* ) indxq, integer, dimension( * ) perm, integer givptr, integer,
dimension( 2, * ) givcol, double precision, dimension( 2, * ) givnum,
integer info)
ZLAED8 used by ZSTEDC. Merges eigenvalues and deflates secular equation. Used when the original matrix is dense.
π Purpose π
Okay so ZLAED8 merges the two sets of eigenvalues together into a single sorted set. Then it tries to deflate the size of the problem. There are two ways in which deflation can occur: when two or more eigenvalues are close together or if there is a tiny element in the Z vector. For each such occurrence the order of the related secular equation problem is reduced by one.
π Parameters π
KβK is INTEGER. Contains the number of non-deflated eigenvalues. This is the order of the related secular equation.NβN is INTEGER. The dimension of the symmetric tridiagonal matrix.N >= 0.QSIZβQSIZ is INTEGER. The dimension of the unitary matrix used to reduce the dense or band matrix to tridiagonal form.QSIZ >= N if ICOMPQ = 1.QβQ is COMPLEX*16 array, dimension (LDQ,N). On entry,Qcontains the eigenvectors of the partially solved system which has been previously updated in matrix multiplies with other partially solved eigensystems. On exit,Qcontains the trailing(N-K)updated eigenvectors (those which were deflated) in its lastN-Kcolumns.LDQβLDQ is INTEGER. The leading dimension of the arrayQ.LDQ >= max( 1, N ).DβD is DOUBLE PRECISION array, dimension (N). On entry,Dcontains the eigenvalues of the two submatrices to be combined. On exit,Dcontains the trailing(N-K)updated eigenvalues (those which were deflated) sorted into increasing order.RHOβRHO is DOUBLE PRECISION. Contains the off diagonal element associated with the rank-1 cut which originally split the two submatrices which are now being recombined.RHOis modified during the computation to the value required byDLAED3.CUTPNTβCUTPNT is INTEGER. Contains the location of the last eigenvalue in the leading sub-matrix.MIN(1,N) <= CUTPNT <= N.ZβZ is DOUBLE PRECISION array, dimension (N). On input this vector contains the updating vector (the last row of the first sub-eigenvector matrix and the first row of the second sub-eigenvector matrix). The contents ofZare destroyed during the updating process.DLAMBDAβDLAMBDA is DOUBLE PRECISION array, dimension (N). Contains a copy of the firstKeigenvalues which will be used byDLAED3to form the secular equation.Q2βQ2 is COMPLEX*16 array, dimension (LDQ2,N). IfICOMPQ = 0,Q2is not referenced. Otherwise, Contains a copy of the firstKeigenvectors which will be used byDLAED7in a matrix multiply (DGEMM) to update the new eigenvectors.LDQ2βLDQ2 is INTEGER. The leading dimension of the arrayQ2.LDQ2 >= max( 1, N ).WβW is DOUBLE PRECISION array, dimension (N). This will hold the firstkvalues of the final deflation-altered z-vector and will be passed toDLAED3.INDXPβINDXP is INTEGER array, dimension (N). This will contain the permutation used to place deflated values ofDat the end of the array. On outputINDXP(1:K)points to the nondeflated D-values andINDXP(K+1:N)points to the deflated eigenvalues.INDXβINDX is INTEGER array, dimension (N). This will contain the permutation used to sort the contents ofDinto ascending order.INDXQβINDXQ is INTEGER array, dimension (N). This contains the permutation which separately sorts the two sub-problems inDinto ascending order. Note that elements in the second half of this permutation must first haveCUTPNTadded to their values in order to be accurate.PERMβPERM is INTEGER array, dimension (N). Contains the permutations (from deflation and sorting) to be applied to each eigenblock.GIVPTRβGIVPTR is INTEGER. Contains the number of Givens rotations which took place in this subproblem.GIVCOLβGIVCOL is INTEGER array, dimension (2, N). Each pair of numbers indicates a pair of columns to take place in a Givens rotation.GIVNUMβGIVNUM is DOUBLE PRECISION array, dimension (2, N). Each number indicates the S value to be used in the corresponding Givens rotation.INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 225 of file zlaed8.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page β the footer stamp is LAPACK Version 3.12.0, source SRC/zlaed8.f(3), and it ate. periodt π
β¨π¦
π¦ 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