DLAQR2(3)
π NAME π
Okay bestie, this is DLAQR2(3), a page from the Library Functions Manual, and the header path vibe is /home/abui...RC/dlaqr2.f(3). Itβs all about this file, no cap: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaqr2.f.
πΈ SYNOPSIS πΈ
β¨ Functions/Subroutines β¨
subroutine DLAQR2 (wantt, wantz, n, ktop, kbot, nw, h, ldh, iloz, ihiz,
z, ldz, ns, nd, sr, si, v, ldv, nh, t, ldt, nv, wv, ldwv, work,
lwork)
DLAQR2 performs the orthogonal similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). π
π Function/Subroutine Documentation π
subroutine DLAQR2 (logical wantt, logical wantz, integer n, integer ktop,
integer kbot, integer nw, double precision, dimension( ldh, * ) h,
integer ldh, integer iloz, integer ihiz, double precision, dimension(
ldz, * ) z, integer ldz, integer ns, integer nd, double precision,
dimension( * ) sr, double precision, dimension( * ) si, double
precision, dimension( ldv, * ) v, integer ldv, integer nh, double
precision, dimension( ldt, * ) t, integer ldt, integer nv, double
precision, dimension( ldwv, * ) wv, integer ldwv, double precision,
dimension( * ) work, integer lwork)
Same iconic description: DLAQR2 performs the orthogonal similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). π¦
π Purpose π
DLAQR2 is identical to DLAQR3 except that it avoids recursion by calling DLAHQR instead of DLAQR4.
Aggressive early deflation, bestie:
This subroutine accepts as input an upper Hessenberg matrix H and performs an orthogonal similarity transformation designed to detect and deflate fully converged eigenvalues from a trailing principal submatrix. On output H has been overwritten by a new Hessenberg matrix that is a perturbation of an orthogonal similarity transformation of H. It is to be hoped that the final version of H has many zero subdiagonal entries. π
π Parameters π
WANTTβWANTT is LOGICAL. If.TRUE., then the Hessenberg matrix H is fully updated so that the quasi-triangular Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., then only enough of H is updated to preserve the eigenvalues.WANTZβWANTZ is LOGICAL. If.TRUE., then the orthogonal matrix Z is updated so that the orthogonal Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., then Z is not referenced.NβN is INTEGER. The order of the matrix H and (if WANTZ is.TRUE.) the order of the orthogonal matrix Z.KTOPβKTOP is INTEGER. It is assumed that eitherKTOP = 1orH(KTOP,KTOP-1)=0. KBOT and KTOP together determine an isolated block along the diagonal of the Hessenberg matrix.KBOTβKBOT is INTEGER. It is assumed without a check that eitherKBOT = NorH(KBOT+1,KBOT)=0. KBOT and KTOP together determine an isolated block along the diagonal of the Hessenberg matrix.NWβNW is INTEGER. Deflation window size.1 <= NW <= (KBOT-KTOP+1).HβH is DOUBLE PRECISION array, dimension (LDH,N). On input the initial N-by-N section of H stores the Hessenberg matrix undergoing aggressive early deflation. On output H has been transformed by an orthogonal similarity transformation, perturbed, and returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries.LDHβLDH is INTEGER. Leading dimension of H just as declared in the calling subroutine.N <= LDH.ILOZβILOZ is INTEGER.IHIZβIHIZ is INTEGER. Specify the rows of Z to which transformations must be applied if WANTZ is.TRUE..1 <= ILOZ <= IHIZ <= N.ZβZ is DOUBLE PRECISION array, dimension (LDZ,N). If WANTZ is.TRUE., then on output, the orthogonal similarity transformation mentioned above has been accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. If WANTZ is.FALSE., then Z is unreferenced.LDZβLDZ is INTEGER. The leading dimension of Z just as declared in the calling subroutine.1 <= LDZ.NSβNS is INTEGER. The number of unconverged (ie approximate) eigenvalues returned in SR and SI that may be used as shifts by the calling subroutine.NDβND is INTEGER. The number of converged eigenvalues uncovered by this subroutine.SRβSR is DOUBLE PRECISION array, dimension (KBOT).SIβSI is DOUBLE PRECISION array, dimension (KBOT). On output, the real and imaginary parts of approximate eigenvalues that may be used for shifts are stored inSR(KBOT-ND-NS+1)throughSR(KBOT-ND)andSI(KBOT-ND-NS+1)throughSI(KBOT-ND), respectively. The real and imaginary parts of converged eigenvalues are stored inSR(KBOT-ND+1)throughSR(KBOT)andSI(KBOT-ND+1)throughSI(KBOT), respectively.VβV is DOUBLE PRECISION array, dimension (LDV,NW). An NW-by-NW work array.LDVβLDV is INTEGER. The leading dimension of V just as declared in the calling subroutine.NW <= LDV.NHβNH is INTEGER. The number of columns of T.NH >= NW.TβT is DOUBLE PRECISION array, dimension (LDT,NW).LDTβLDT is INTEGER. The leading dimension of T just as declared in the calling subroutine.NW <= LDT.NVβNV is INTEGER. The number of rows of work array WV available for workspace.NV >= NW.WVβWV is DOUBLE PRECISION array, dimension (LDWV,NW).LDWVβLDWV is INTEGER. The leading dimension of W just as declared in the calling subroutine.NW <= LDV.WORKβWORK is DOUBLE PRECISION array, dimension (LWORK). On exit,WORK(1)is set to an estimate of the optimal value of LWORK for the given values of N, NW, KTOP and KBOT.LWORKβLWORK is INTEGER. The dimension of the work array WORK.LWORK = 2*NWsuffices, but greater efficiency may result from larger values of LWORK.
If LWORK = -1, then a workspace query is assumed; DLAQR2 only estimates the optimal workspace size for the given values of N, NW, KTOP and KBOT. The estimate is returned in WORK(1). No error message related to LWORK is issued by XERBLA. Neither H nor Z are accessed.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π«Ά Contributors π«Ά
Karen Braman and Ralph Byers, Department of Mathematics, University of Kansas, USA.
Definition at line 275 of file dlaqr2.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
Mwah π cute sign-off: this page is LAPACK Version 3.12.0, and the footer path is /home/abui...RC/dlaqr2.f(3). The footerβs date slot isnβt printed in the original, so Iβm not inventing one β 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