ZLAQR5(3)
π ZLAQR5(3) β Library Functions Manual π
Okay so this is the Library Functions Manual page for ZLAQR5(3), and the header path is literally /home/abui...RC/zlaqr5.f(3). Bestie, itβs giving βserious Fortran business,β but make it cute: this whole page is about one subroutine doing a small-bulge multi-shift QR sweep. Letβs go. β¨
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqr5.f
Thatβs the file path, no cap.
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine ZLAQR5 (wantt, wantz, kacc22, n, ktop, kbot, nshfts, s, h,
ldh, iloz, ihiz, z, ldz, v, ldv, u, ldu, nv, wv, ldwv, nh, wh, ldwh)
ZLAQR5 performs a single small-bulge multi-shift QR sweep. Thatβs the whole vibe. π
π Function/Subroutine Documentation π
subroutine ZLAQR5 (logical wantt, logical wantz, integer kacc22, integer n,
integer ktop, integer kbot, integer nshfts, complex*16, dimension( * )
s, complex*16, dimension( ldh, * ) h, integer ldh, integer iloz, integer
ihiz, complex*16, dimension( ldz, * ) z, integer ldz, complex*16,
dimension( ldv, * ) v, integer ldv, complex*16, dimension( ldu, * ) u,
integer ldu, integer nv, complex*16, dimension( ldwv, * ) wv, integer
ldwv, integer nh, complex*16, dimension( ldwh, * ) wh, integer ldwh)
ZLAQR5 performs a single small-bulge multi-shift QR sweep. Yes, again β itβs the main character. π
π― Purpose π―
ZLAQR5, called by ZLAQR0, performs a single small-bulge multi-shift QR sweep. Periodt.
π§© Parameters π§©
WANTTβ LOGICAL.WANTT = .true.if the triangular Schur factor is being computed.WANTTis set to.false.otherwise.WANTZβ LOGICAL.WANTZ = .true.if the unitary Schur factor is being computed.WANTZis set to.false.otherwise.KACC22β INTEGER with value0,1, or2. Specifies the computation mode of far-from-diagonal orthogonal updates.= 0:ZLAQR5does not accumulate reflections and does not use matrix-matrix multiply to update far-from-diagonal matrix entries.= 1:ZLAQR5accumulates reflections and uses matrix-matrix multiply to update the far-from-diagonal matrix entries.= 2: Same asKACC22 = 1. This option used to enable exploiting the 2-by-2 structure during matrix multiplications, but this is no longer supported.
Nβ INTEGER.Nis the order of the Hessenberg matrixHupon which this subroutine operates.KTOPβ INTEGER.KBOTβ INTEGER. These are the first and last rows and columns of an isolated diagonal block upon which the QR sweep is to be applied. It is assumed without a check that eitherKTOP = 1orH(KTOP,KTOP-1) = 0and eitherKBOT = NorH(KBOT+1,KBOT) = 0.NSHFTSβ INTEGER.NSHFTSgives the number of simultaneous shifts.NSHFTSmust be positive and even.SβCOMPLEX*16array, dimension(NSHFTS).Scontains the shifts of origin that define the multi-shift QR sweep. On outputSmay be reordered.HβCOMPLEX*16array, dimension(LDH,N). On inputHcontains a Hessenberg matrix. On output a multi-shift QR sweep with shiftsSR(J)+i*SI(J)is applied to the isolated diagonal block in rows and columnsKTOPthroughKBOT.LDHβ INTEGER.LDHis the leading dimension ofHjust as declared in the calling procedure.LDH >= MAX(1,N).ILOZβ INTEGER.IHIZβ INTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= IHIZ <= N.ZβCOMPLEX*16array, dimension(LDZ,IHIZ). IfWANTZ = .TRUE., then the QR Sweep unitary similarity transformation is accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. IfWANTZ = .FALSE., thenZis unreferenced.LDZβ INTEGER. The page saysLDAis the leading dimension ofZjust as declared in the calling procedure.LDZ >= N.VβCOMPLEX*16array, dimension(LDV,NSHFTS/2).LDVβ INTEGER.LDVis the leading dimension ofVas declared in the calling procedure.LDV >= 3.UβCOMPLEX*16array, dimension(LDU,2*NSHFTS).LDUβ INTEGER.LDUis the leading dimension ofUjust as declared in the in the calling subroutine.LDU >= 2*NSHFTS.NVβ INTEGER.NVis the number of rows inWVagailable for workspace.NV >= 1.WVβCOMPLEX*16array, dimension(LDWV,2*NSHFTS).LDWVβ INTEGER.LDWVis the leading dimension ofWVas declared in the in the calling subroutine.LDWV >= NV.NHβ INTEGER.NHis the number of columns in arrayWHavailable for workspace.NH >= 1.WHβCOMPLEX*16array, dimension(LDWH,NH).LDWHβ INTEGER. Leading dimension ofWHjust as declared in the calling procedure.LDWH >= 2*NSHFTS.
π 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
- Lars Karlsson, Daniel Kressner, and Bruno Lang
- Thijs Steel, Department of Computer science, KU Leuven, Belgium
π References π
- K. Braman, R. Byers and R. Mathias, The Multi-Shift QR Algorithm Part I: Maintaining Well Focused Shifts, and Level 3 Performance, SIAM Journal of Matrix Analysis, volume 23, pages 929--947, 2002.
- Lars Karlsson, Daniel Kressner, and Bruno Lang, Optimally packed chains of bulges in multishift QR algorithms. ACM Trans. Math. Softw. 40, 2, Article 12 (February 2014).
Definition at line 254 of file zlaqr5.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
Catch you later, bestie π«Ά β this oneβs from LAPACK Version 3.12.0 and the footer path is /home/abui...RC/zlaqr5.f(3). No date on the page, so Iβm not inventing one. Mwah π
π¦ 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