DLAQR5(3)
π DLAQR5(3) β Library Functions Manual π
okay bestie, welcome to the DLAQR5(3) page β this is the LAPACK manual for dlaqr5.f, and we are literally about to get into a single small-bulge multi-shift QR sweep. No cap. π«Ά
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaqr5.f
π¦ SYNOPSIS π¦
Functions/Subroutines π§
subroutine DLAQR5 (wantt, wantz, kacc22, n, ktop, kbot, nshfts, sr, si,
h, ldh, iloz, ihiz, z, ldz, v, ldv, u, ldu, nv, wv, ldwv, nh, wh,
ldwh)
DLAQR5 performs a single small-bulge multi-shift QR sweep. Iconic. π
β¨ Function/Subroutine Documentation β¨
π subroutine DLAQR5 π
subroutine DLAQR5 (logical wantt, logical wantz, integer kacc22, integer n,
integer ktop, integer kbot, integer nshfts, double precision, dimension(
* ) sr, double precision, dimension( * ) si, double precision,
dimension( ldh, * ) h, integer ldh, integer iloz, integer ihiz, double
precision, dimension( ldz, * ) z, integer ldz, double precision,
dimension( ldv, * ) v, integer ldv, double precision, dimension( ldu, *
) u, integer ldu, integer nv, double precision, dimension( ldwv, * ) wv,
integer ldwv, integer nh, double precision, dimension( ldwh, * ) wh,
integer ldwh)
DLAQR5 performs a single small-bulge multi-shift QR sweep. Yes, she said it twice. Main character energy. π
Purpose: π
DLAQR5, called by DLAQR0, performs a single small-bulge multi-shift QR sweep. That's the whole assignment, bestie β she's a helper called by DLAQR0 and she's doing one very specific sweep. Periodt. π
Parameters π
WANTTβLOGICAL.WANTT = .true.if the quasi-triangular Schur factor is being computed.WANTTis set to.false.otherwise. π¦WANTZβLOGICAL.WANTZ = .true.if the orthogonal Schur factor is being computed.WANTZis set to.false.otherwise. πΈKACC22βINTEGERwith value0,1, or2. Specifies the computation mode of far-from-diagonal orthogonal updates.= 0:DLAQR5does not accumulate reflections and does not use matrix-matrix multiply to update far-from-diagonal matrix entries.= 1:DLAQR5accumulates 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. βSRβDOUBLE PRECISIONarray, dimension(NSHFTS).SIβDOUBLE PRECISIONarray, dimension(NSHFTS).SRcontains the real parts andSIcontains the imaginary parts of theNSHFTSshifts of origin that define the multi-shift QR sweep. On outputSRandSImay be reordered. π₯HβDOUBLE PRECISIONarray, 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βDOUBLE PRECISIONarray, dimension(LDZ,IHIZ). IfWANTZ = .TRUE., then the QR Sweep orthogonal similarity transformation is accumulated intoZ(ILOZ:IHIZ,ILOZ:IHIZ)from the right. IfWANTZ = .FALSE., thenZis unreferenced. πLDZβINTEGER.LDAis the leading dimension ofZjust as declared in the calling procedure.LDZ >= N. (yes, the source saysLDAhere β iconic, we keep it π )VβDOUBLE PRECISIONarray, dimension(LDV,NSHFTS/2).LDVβINTEGER.LDVis the leading dimension ofVas declared in the calling procedure.LDV >= 3.UβDOUBLE PRECISIONarray, dimension(LDU,2*NSHFTS).LDUβINTEGER.LDUis the leading dimension ofUjust as declared in the in the calling subroutine.LDU >= 2*NSHFTS. (the double "in the" is canon, bestie π«Ά)NVβINTEGER.NVis the number of rows inWVagailable for workspace.NV >= 1. (typo "agailable" stays β it's part of the lore)WVβDOUBLE PRECISIONarray, 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βDOUBLE PRECISIONarray, dimension(LDWH,NH).LDWHβINTEGER. Leading dimension ofWHjust as declared in the calling procedure.LDWH >= 2*NSHFTS.
Heads up:KACC22 = 2is the same asKACC22 = 1; the 2-by-2 structure exploitation during matrix multiplications used to be a thing, but this is no longer supported. Not me delivering the news, just the manpage. π
Also: it is assumed without a check that eitherKTOP = 1orH(KTOP,KTOP-1) = 0, and eitherKBOT = NorH(KBOT+1,KBOT) = 0.
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, pages929--947,2002. - Lars Karlsson, Daniel Kressner, and Bruno Lang, Optimally packed chains of bulges in multishift QR algorithms. ACM Trans. Math. Softw.
40,2, Article12(February2014).
Definition at line 262 of file dlaqr5.f π
Definition at line 262 of file dlaqr5.f.
Author (Doxygen's version) π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole DLAQR5(3) page β mwah π. This beauty is from LAPACK, Version 3.12.0, and the source/version footer points at /home/abui...RC/dlaqr5.f(3). 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