CLAQR1(3)
π claqr1.f(3) β LAPACK Library Functions Manual π
ok so bestie, this page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/claqr1.f and it's literally the whole manual entry for CLAQR1, iykyk. no cap, that's the NAME section. π¦
β¨ SYNOPSIS β¨
Functions/Subroutines πΈ
subroutine CLAQR1 (n, h, ldh, s1, s2, v)β CLAQR1 sets a scalar multiple of the first column of the product of 2-by-2 or 3-by-3 matrix H and specified shifts.
π«Ά Function/Subroutine Documentation π«Ά
subroutine CLAQR1 (integer n, complex, dimension( ldh, * ) h, integer ldh,
complex s1, complex s2, complex, dimension( * ) v)
CLAQR1 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 vibe, bestie π
Purpose π
ok so picture this: you hand it a 2-by-2 or 3-by-3 matrix H, and CLAQR1 sets v to a scalar multiple of the first column of the product
(*) K = (H - s1*I)*(H - s2*I)
and it does that while scaling things so you dodge overflows and most underflows π (yes, most β that's the actual wording, don't come for me).
why do you care? because this is straight-up useful for starting double implicit shift bulges in the QR algorithm. iconic behavior honestly π
Parameters π
NβNisINTEGER, the order of the matrix H.Nmust be either 2 or 3. no other options, periodt.HβHisCOMPLEXarray, dimension(LDH,N). it's the 2-by-2 or 3-by-3 matrix H in(*). main character energy fr.LDHβLDHisINTEGER, the leading dimension of H as declared in the calling procedure. andLDH >= N, so mind that πS1βS1isCOMPLEX.S2βS2isCOMPLEX.S1andS2are the shifts defining K in(*)above. the way these two little icons define the whole product π
VβVisCOMPLEXarray, dimension(N). a scalar multiple of the first column of the matrix K in(*). that's the output, slay.
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. legends, honestly π«Ά
Definition at line 106 of file claqr1.f. β
π Author π
Generated automatically by Doxygen for LAPACK from the source code. not me being auto-generated π
ok that's the whole page bestie, go forth and bulge those double implicit shifts π β¨
cute little sign-off: this was LAPACK, Version 3.12.0, dated /home/abui...RC/claqr1.f(3) β 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