ZLAQR1(3)
π¦ ZLAQR1(3) β the lapack girlie's guide to shift-bulge math π
ok so bestie, we're deep in zlaqr1.f(3) territory β that's the manual page for a LAPACK routine, and the file it's documented from lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqr1.f. yes that's a whole lot of path. no we're not skipping it. π«Ά
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqr1.f β that's the file, that's the vibe, that's the source of truth. π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ZLAQR1 (n, h, ldh, s1, s2, v)
ZLAQR1 sets a scalar multiple of the first column of the product of 2-by-2 or 3-by-3 matrix H and specified shifts. that's the whole personality. π
π Function/Subroutine Documentation π
subroutine ZLAQR1 (integer n, complex*16, dimension( ldh, * ) h, integer
ldh, complex*16 s1, complex*16 s2, complex*16, dimension( * ) v)
ZLAQR1 sets a scalar multiple of the first column of the product of 2-by-2 or 3-by-3 matrix H and specified shifts.
π Purpose:
!>
!> Given a 2-by-2 or 3-by-3 matrix H, ZLAQR1 sets v to a
!> scalar multiple of the first column of the product
!>
!> (*) K = (H - s1*I)*(H - s2*I)
!>
!> scaling to avoid overflows and most underflows.
!>
!> This is useful for starting double implicit shift bulges
!> in the QR algorithm.
!>
so like, picture this: H is 2-by-2 or 3-by-3, s1 and s2 are your shifts, and v comes out as a scalar multiple of the first column of K = (H - s1*I)*(H - s2*I). and the scaling? it's there to dodge overflows and most underflows. not all β most. iconique behavior, honestly. it's the move you pull to kick off double implicit shift bulges in the QR algorithm. iykyk. π₯
π Parameters
NβN is INTEGER, and it's the order of the matrixH. literally must be either2or3. those are the only two options, bestie, don't try anything cute. πHβH is COMPLEX*16 array, dimension (LDH,N). this is the 2-by-2 or 3-by-3 matrixHfrom(*)up there. βLDHβLDH is INTEGER, the leading dimension ofHas declared in the calling procedure. requirement:LDH >= N. respect the bound or perish. πS1βS1 is COMPLEX*16. that's it, that's the entry. πΈS2βS2 is COMPLEX*16. ALSO just that. but wait βS1andS2together are the shifts definingKin(*)above. bestie duo, fr fr. π«ΆVβV is COMPLEX*16 array, dimension (N). a scalar multiple of the first column of the matrixKin(*). this is the output, the main character, the moment. π
π 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 106 of file zlaqr1.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (not a human, just a little documentation goblin doing its thing β¨)
lowkey a reminder:Nis only ever2or3, andLDH >= N. the math does not negotiate.
ok that's the page!! mwah π this was LAPACK, Version 3.12.0, dated /home/abui...RC/zlaqr1.f(3) β slay, go start some double implicit shift bulges, you've got this ππ
π¦ 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