SRC/claqr3.f(3)
๐ธ NAME ๐ธ
Okay so this page is SRC/claqr3.f(3), straight out of the Library Functions Manual โ and the NAME section is literally just SRC/claqr3.f. No extra lore, bestie. ๐
โจ SYNOPSIS โจ
๐ฆ Functions/Subroutines ๐ฆ
subroutine claqr3 (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)
CLAQR3 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation). Slay, honestly. ๐
๐ง Function/Subroutine Documentation ๐ง
subroutine claqr3 (logical wantt, logical wantz, integer n, integer ktop,
integer kbot, integer nw, complex, dimension( ldh, * ) h, integer ldh,
integer iloz, integer ihiz, complex, dimension( ldz, * ) z, integer ldz,
integer ns, integer nd, complex, dimension( * ) sh, complex, dimension(
ldv, * ) v, integer ldv, integer nh, complex, dimension( ldt, * ) t,
integer ldt, integer nv, complex, dimension( ldwv, * ) wv, integer ldwv,
complex, dimension( * ) work, integer lwork)
CLAQR3 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 ๐
Aggressive early deflation, periodt:
CLAQR3 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 over-written 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. That's the goal, bestie โ zero subdiagonal entries where possible. ๐
๐ Parameters ๐
WANTTโWANTTis 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. ๐ซถWANTZโWANTZis LOGICAL. If.TRUE., then the unitary matrixZis updated so so that the unitary Schur factor may be computed (in cooperation with the calling subroutine). If.FALSE., thenZis not referenced. Yes, the โso soโ is in the original vibe. ๐ญNโNis INTEGER. The order of the matrixHand (ifWANTZis.TRUE.) the order of the unitary matrixZ. ๐ขKTOPโKTOPis INTEGER. It is assumed that eitherKTOP = 1orH(KTOP,KTOP-1)=0.KBOTandKTOPtogether determine an isolated block along the diagonal of the Hessenberg matrix. ๐งฉKBOTโKBOTis 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โNWis INTEGER. Deflation window size.1 <= NW <= (KBOT-KTOP+1). ๐ชHโHis COMPLEX 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 a unitary similarity transformation, perturbed, and the returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries. โจLDHโLDHis INTEGER. Leading dimension ofHjust as declared in the calling subroutine.N <= LDH. ๐ILOZโILOZis INTEGER. That's it. That's the description. ๐IHIZโIHIZis INTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= IHIZ <= N. ๐ฏZโZis 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โLDZis INTEGER. The leading dimension ofZjust as declared in the calling subroutine.1 <= LDZ. ๐NSโNSis INTEGER. The number of unconverged (ie approximate) eigenvalues returned inSRandSIthat may be used as shifts by the calling subroutine. Yep, it saysSRandSIright there. ๐NDโNDis INTEGER. The number of converged eigenvalues uncovered by this subroutine. โSHโSHis 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). (And yes, the source text saysSR(KBOT-ND)in that first range.) ๐VโVis COMPLEX array, dimension(LDV,NW). An NW-by-NW work array. ๐ ๏ธLDVโLDVis INTEGER. The leading dimension ofVjust as declared in the calling subroutine.NW <= LDV. ๐NHโNHis INTEGER. The number of columns ofT.NH >= NW. ๐๏ธTโTis COMPLEX array, dimension(LDT,NW). That's the whole description, bestie. ๐LDTโLDTis INTEGER. The leading dimension ofTjust as declared in the calling subroutine.NW <= LDT. ๐NVโNVis INTEGER. The number of rows of work arrayWVavailable for workspace.NV >= NW. ๐งตWVโWVis COMPLEX array, dimension(LDWV,NW). Again: that's the whole description. ๐LDWVโLDWVis INTEGER. The leading dimension ofWjust as declared in the calling subroutine.NW <= LDV. (Yes, it saysWandLDVhere โ preserving the original exactly.) ๐ซWORKโWORKis 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โLWORKis 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;CLAQR3only 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. Absolute icons. ๐
Definition at line 263 of file claqr3.f.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
Byeee bestie ๐ โ SRC/claqr3.f(3), LAPACK Version 3.12.0, signing off with maximum sparkle. ๐โจ
๐ฆ 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