laqr2(3)
โจ NAME โจ
laqr2 โ laqr2: step in hseqr. Bestie, this is the laqr2(3) page, and the manual name is folded in right here because we are not copying that boring header line. ๐
๐ ๏ธ SYNOPSIS ๐ ๏ธ
๐ซ Functions
๐ claqr2
subroutine claqr2 (wantt, wantz, n, ktop, kbot, nw, h, ldh, iloz, ihiz,
z, ldz, ns, nd, sh, v, ldv, nh, t, ldt, nv, wv, ldwv, work, lwork)
CLAQR2 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). Periodt.
๐ฆ dlaqr2
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).
๐ slaqr2
subroutine slaqr2 (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)
SLAQR2 performs the orthogonal similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation).
๐ zlaqr2
subroutine zlaqr2 (wantt, wantz, n, ktop, kbot, nw, h, ldh, iloz, ihiz,
z, ldz, ns, nd, sh, v, ldv, nh, t, ldt, nv, wv, ldwv, work, lwork)
ZLAQR2 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation).
๐ธ Detailed Description ๐ธ
This section is literally just a heading in the original โ no extra prose, no side quest. The real tea is in Function Documentation. ๐
๐ซถ Function Documentation ๐ซถ
๐ฆ claqr2
subroutine claqr2 (wantt, wantz, n, ktop, kbot, nw, h, ldh, iloz, ihiz,
z, ldz, ns, nd, sh, v, ldv, nh, t, ldt, nv, wv, ldwv, work, lwork)
CLAQR2 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). No cap, that's the whole vibe.
๐ก Purpose
CLAQR2 is identical to CLAQR3 except that it avoids recursion by calling CLAHQR instead of CLAQR4. Slay.
Aggressive early deflation:
This subroutine accepts as input an upper Hessenberg matrix H and performs an unitary 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 unitary similarity transformation of H. It is to be hoped that the final version of H has many zero subdiagonal entries. We are literally rooting for those zeros.
๐ Parameters
WANTTโLOGICAL. If.TRUE., then the Hessenberg matrixHis fully updated so that the triangular Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., then only enough ofHis updated to preserve the eigenvalues. Iconic behavior.WANTZโLOGICAL. If.TRUE., then the unitary matrixZis updated so that the unitary Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., thenZis not referenced.NโINTEGER. The order of the matrixHand (ifWANTZis.TRUE.) the order of the unitary matrixZ.KTOPโINTEGER. It is assumed that eitherKTOP = 1orH(KTOP,KTOP-1)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.KBOTโINTEGER. It is assumed without a check that eitherKBOT = NorH(KBOT+1,KBOT)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.NWโINTEGER. Deflation window size.1 <= NW <= (KBOT-KTOP+1).HโCOMPLEX array, dimension (LDH,N). On input the initialN-by-Nsection ofHstores the Hessenberg matrix undergoing aggressive early deflation. On outputHhas been transformed by a unitary similarity transformation, perturbed, and returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries.LDHโINTEGER. Leading dimension ofHjust as declared in the calling subroutine.N <= LDH.ILOZโINTEGER. That's all the original gives us here โ no extra description, no cap. ๐ซถIHIZโINTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= IHIZ <= N.ZโCOMPLEX array, dimension (LDZ,N). IfWANTZis.TRUE., then on output, the unitary similarity transformation mentioned above has been accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. IfWANTZis.FALSE., thenZis unreferenced.LDZโINTEGER. The leading dimension ofZjust as declared in the calling subroutine.1 <= LDZ.NSโINTEGER. The number of unconverged (ie approximate) eigenvalues returned inSRandSIthat may be used as shifts by the calling subroutine.NDโINTEGER. The number of converged eigenvalues uncovered by this subroutine.SHโCOMPLEX array, dimension (KBOT). On output, approximate eigenvalues that may be used for shifts are stored inSH(KBOT-ND-NS+1)throughSR(KBOT-ND). Converged eigenvalues are stored inSH(KBOT-ND+1)throughSH(KBOT). Yes, the original saysSRthere โ we keep it exactly, no editing. ๐VโCOMPLEX array, dimension (LDV,NW). AnNW-by-NWwork array.LDVโINTEGER. The leading dimension ofVjust as declared in the calling subroutine.NW <= LDV.NHโINTEGER. The number of columns ofT.NH >= NW.TโCOMPLEX array, dimension (LDT,NW). No extra description in the original.LDTโINTEGER. The leading dimension ofTjust as declared in the calling subroutine.NW <= LDT.NVโINTEGER. The number of rows of work arrayWVavailable for workspace.NV >= NW.WVโCOMPLEX array, dimension (LDWV,NW). No extra description in the original.LDWVโINTEGER. The leading dimension ofWjust as declared in the calling subroutine.NW <= LDV. Yes, it saysWandLDVโ keeping it exactly. ๐WORKโCOMPLEX array, dimension (LWORK). On exit,WORK(1)is set to an estimate of the optimal value ofLWORKfor the given values ofN,NW,KTOPandKBOT.LWORKโINTEGER. The dimension of the work arrayWORK.LWORK = 2*NWsuffices, but greater efficiency may result from larger values ofLWORK. IfLWORK = -1, then a workspace query is assumed;CLAQR2only estimates the optimal workspace size for the given values ofN,NW,KTOPandKBOT. The estimate is returned inWORK(1). No error message related toLWORKis issued byXERBLA. NeitherHnorZare 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
Definition at line 266 of file claqr2.f.
๐ dlaqr2
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).
๐ก Purpose
DLAQR2 is identical to DLAQR3 except that it avoids recursion by calling DLAHQR instead of DLAQR4. Same energy, different letter.
Aggressive early deflation:
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
WANTTWANTTisLOGICAL. If.TRUE., then the Hessenberg matrixHis fully updated so that the quasi-triangular Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., then only enough ofHis updated to preserve the eigenvalues. โจWANTZisLOGICAL. If.TRUE., then the orthogonal matrixZis updated so that the orthogonal Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., thenZis not referenced. ๐ฆNisINTEGER. The order of the matrixHand (ifWANTZis.TRUE.) the order of the orthogonal matrixZ. ๐KTOPisINTEGER. It is assumed that eitherKTOP = 1orH(KTOP,KTOP-1)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.KBOTisINTEGER. It is assumed without a check that eitherKBOT = NorH(KBOT+1,KBOT)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix. ๐NWisINTEGER. Deflation window size.1 <= NW <= (KBOT-KTOP+1). ๐HisDOUBLE PRECISION array, dimension (LDH,N). On input the initial N-by-N section ofHstores the Hessenberg matrix undergoing aggressive early deflation. On outputHhas been transformed by an orthogonal similarity transformation, perturbed, and the returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries. ๐ฅLDHisINTEGER. Leading dimension ofHjust as declared in the calling subroutine.N <= LDH.ILOZisINTEGER. ๐IHIZisINTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= IHIZ <= N.ZisDOUBLE PRECISION array, dimension (LDZ,N). IfWANTZis.TRUE., then on output, the orthogonal similarity transformation mentioned above has been accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. IfWANTZis.FALSE., thenZis unreferenced.LDZisINTEGER. The leading dimension ofZjust as declared in the calling subroutine.1 <= LDZ.NSisINTEGER. The number of unconverged (ie approximate) eigenvalues returned inSRandSIthat may be used as shifts by the calling subroutine.NDisINTEGER. The number of converged eigenvalues uncovered by this subroutine. ๐SRisDOUBLE PRECISION array, dimension (KBOT).SIisDOUBLE 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. ๐ซถVisDOUBLE PRECISION array, dimension (LDV,NW). An NW-by-NW work array.LDVisINTEGER. The leading dimension ofVjust as declared in the calling subroutine.NW <= LDV.NHisINTEGER. The number of columns ofT.NH >= NW.TisDOUBLE PRECISION array, dimension (LDT,NW).LDTisINTEGER. The leading dimension ofTjust as declared in the calling subroutine.NW <= LDT.NVisINTEGER. The number of rows of work arrayWVavailable for workspace.NV >= NW.WVisDOUBLE PRECISION array, dimension (LDWV,NW).LDWVisINTEGER. The leading dimension ofWjust as declared in the calling subroutine.NW <= LDV.WORKisDOUBLE PRECISION array, dimension (LWORK). On exit,WORK(1)is set to an estimate of the optimal value ofLWORKfor the given values ofN,NW,KTOPandKBOT.LWORKisINTEGER. The dimension of the work arrayWORK.LWORK = 2*NWsuffices, but greater efficiency may result from larger values ofLWORK. IfLWORK = -1, then a workspace query is assumed;DLAQR2only estimates the optimal workspace size for the given values ofN,NW,KTOPandKBOT. The estimate is returned inWORK(1). No error message related toLWORKis issued byXERBLA. NeitherHnorZare 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.
๐ง subroutine slaqr2
subroutine slaqr2 (logical wantt, logical wantz, integer n, integer ktop,
integer kbot, integer nw, real, dimension( ldh, * ) h, integer ldh,
integer iloz, integer ihiz, real, dimension( ldz, * ) z, integer ldz,
integer ns, integer nd, real, dimension( * ) sr, real, dimension( * )
si, real, dimension( ldv, * ) v, integer ldv, integer nh, real,
dimension( ldt, * ) t, integer ldt, integer nv, real, dimension( ldwv, *
) wv, integer ldwv, real, dimension( * ) work, integer lwork)
SLAQR2 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
SLAQR2 is identical to SLAQR3 except that it avoids recursion by calling SLAHQR instead of SLAQR4.
Aggressive early deflation:
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 over-written 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
WANTTisLOGICAL. If.TRUE., then the Hessenberg matrixHis fully updated so that the quasi-triangular Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., then only enough ofHis updated to preserve the eigenvalues.WANTZisLOGICAL. If.TRUE., then the orthogonal matrixZis updated so that the orthogonal Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., thenZis not referenced.NisINTEGER. The order of the matrixHand (ifWANTZis.TRUE.) the order of the orthogonal matrixZ.KTOPisINTEGER. It is assumed that eitherKTOP = 1orH(KTOP,KTOP-1)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.KBOTisINTEGER. It is assumed without a check that eitherKBOT = NorH(KBOT+1,KBOT)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.NWisINTEGER. Deflation window size.1 <= NW <= (KBOT-KTOP+1).HisREAL array, dimension (LDH,N). On input the initial N-by-N section ofHstores the Hessenberg matrix undergoing aggressive early deflation. On outputHhas been transformed by an orthogonal similarity transformation, perturbed, and the returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries. ๐ฅLDHisINTEGER. Leading dimension ofHjust as declared in the calling subroutine.N <= LDH.ILOZisINTEGER.IHIZisINTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= IHIZ <= N.ZisREAL array, dimension (LDZ,N). IfWANTZis.TRUE., then on output, the orthogonal similarity transformation mentioned above has been accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. IfWANTZis.FALSE., thenZis unreferenced.LDZisINTEGER. The leading dimension ofZjust as declared in the calling subroutine.1 <= LDZ.NSNSโNSisINTEGER. It's the number of unconverged (ie approximate) eigenvalues returned inSRandSIthat the calling subroutine may use as shifts. ๐NDโNDisINTEGER. The number of converged eigenvalues uncovered by this subroutine.SRโSRisREAL array, dimension(KBOT).SIโSIisREAL 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โVisREAL array, dimension(LDV,NW). AnNW-by-NWwork array.LDVโLDVisINTEGER. The leading dimension ofVjust as declared in the calling subroutine.NW <= LDV.NHโNHisINTEGER. The number of columns ofT.NH >= NW.TโTisREAL array, dimension(LDT,NW).LDTโLDTisINTEGER. The leading dimension ofTjust as declared in the calling subroutine.NW <= LDT.NVโNVisINTEGER. The number of rows of work arrayWVavailable for workspace.NV >= NW.WVโWVisREAL array, dimension(LDWV,NW).LDWVโLDWVisINTEGER. The leading dimension ofWjust as declared in the calling subroutine.NW <= LDV.WORKโWORKisREAL array, dimension(LWORK). On exit,WORK(1)is set to an estimate of the optimal value ofLWORKfor the given values ofN,NW,KTOPandKBOT.LWORKโLWORKisINTEGER. The dimension of the work arrayWORK.LWORK = 2*NWsuffices, but greater efficiency may result from larger values ofLWORK.
If LWORK = -1, then a workspace query is assumed; SLAQR2 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 slaqr2.f.
๐ฆ subroutine zlaqr2
subroutine zlaqr2 (logical wantt, logical wantz, integer n, integer ktop,
integer kbot, integer nw, complex*16, dimension( ldh, * ) h, integer
ldh, integer iloz, integer ihiz, complex*16, dimension( ldz, * ) z,
integer ldz, integer ns, integer nd, complex*16, dimension( * ) sh,
complex*16, dimension( ldv, * ) v, integer ldv, integer nh, complex*16,
dimension( ldt, * ) t, integer ldt, integer nv, complex*16, dimension(
ldwv, * ) wv, integer ldwv, complex*16, dimension( * ) work, integer
lwork)
ZLAQR2 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). ๐
๐ฏ Purpose:
ZLAQR2 is identical to ZLAQR3 except that it avoids recursion by calling ZLAHQR instead of ZLAQR4.
Aggressive early deflation, bestie:
ZLAQR2 accepts as input an upper Hessenberg matrix H and performs a unitary similarity transformation designed to detect and deflate fully converged eigenvalues from a trailing principal submatrix. On output H has been over-written by a new Hessenberg matrix that is a perturbation of a unitary similarity transformation of H. It is to be hoped that the final version of H has many zero subdiagonal entries. โจ
๐งฎ Parameters
WANTTโWANTTisLOGICAL. If.TRUE., then the Hessenberg matrixHis fully updated so that the triangular Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., then only enough ofHis updated to preserve the eigenvalues.WANTZโWANTZisLOGICAL. If.TRUE., then the unitary matrixZis updated so that the unitary Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., thenZis not referenced.NโNisINTEGER. The order of the matrixHand (ifWANTZis.TRUE.) the order of the unitary matrixZ.KTOPโKTOPisINTEGER. It is assumed that eitherKTOP = 1orH(KTOP,KTOP-1)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.KBOTโKBOTisINTEGER. It is assumed without a check that eitherKBOT = NorH(KBOT+1,KBOT)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix.NWโNWisINTEGER. Deflation window size.1 <= NW <= (KBOT-KTOP+1).HโHisCOMPLEX*16 array, dimension(LDH,N). On input the initialN-by-Nsection ofHstores the Hessenberg matrix undergoing aggressive early deflation. On outputHhas been transformed by a unitary similarity transformation, perturbed, and returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries.LDHโLDHisINTEGER. Leading dimension ofHjust as declared in the calling subroutine.N <= LDH.ILOZโILOZisINTEGER.IHIZโIHIZisINTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= IHIZ <= N.ZโZisCOMPLEX*16 array, dimension(LDZ,N). IFWANTZis.TRUE., then on output, the unitary similarity transformation mentioned above has been accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. IfWANTZis.FALSE., thenZis unreferenced.LDZโLDZisINTEGER. The leading dimension ofZjust as declared in the calling subroutine.1 <= LDZ.NSโNSisINTEGER. The number of unconverged (ie approximate) eigenvalues returned inSRandSIthat may be used as shifts by the calling subroutine.NDโNDisINTEGER. The number of converged eigenvalues uncovered by this subroutine.SHโSHisCOMPLEX*16 array, dimension(KBOT). On output, approximate eigenvalues that may be used for shifts are stored inSH(KBOT-ND-NS+1)throughSR(KBOT-ND). Converged eigenvalues are stored inSH(KBOT-ND+1)throughSH(KBOT).VโVisCOMPLEX*16 array, dimension(LDV,NW). AnNW-by-NWwork array.LDVโLDVisINTEGER. The leading dimension ofVjust as declared in the calling subroutine.NW <= LDV.NHโNHisINTEGER. The number of columns ofT.NH >= NW.TโTisCOMPLEX*16 array, dimension(LDT,NW).LDTโLDTisINTEGER. The leading dimension ofTjust as declared in the calling subroutine.NW <= LDT.NVโNVisINTEGER. The number of rows of work arrayWVavailable for workspace.NV >= NW.WVโWVisCOMPLEX*16 array, dimension(LDWV,NW).LDWVโLDWVisINTEGER. The leading dimension ofWjust as declared in the calling subroutine.NW <= LDV.WORKโWORKisCOMPLEX*16 array, dimension(LWORK). On exit,WORK(1)is set to an estimate of the optimal value ofLWORKfor the given values ofN,NW,KTOPandKBOT.LWORKโLWORKisINTEGER. The dimension of the work arrayWORK.LWORK = 2*NWsuffices, but greater efficiency may result from larger values ofLWORK.
If LWORK = -1, then a workspace query is assumed; ZLAQR2 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 267 of file zlaqr2.f.
๐ Author
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie โ source/version: LAPACK Version 3.12.0, page: laqr2(3). Byeee! ๐๐
๐ฆ 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