laqr1(3)
okay bestie, welcome to laqr1(3) from the Library Functions Manual β the page about a tiny but iconic step in hseqr π
β¨
π NAME π
laqr1 β laqr1: step in hseqr π
πΈ SYNOPSIS πΈ
π Functions π
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.subroutine dlaqr1 (n, h, ldh, sr1, si1, sr2, si2, v)β DLAQR1 sets a scalar multiple of the first column of the product of 2-by-2 or 3-by-3 matrix H and specified shifts.subroutine slaqr1 (n, h, ldh, sr1, si1, sr2, si2, v)β SLAQR1 sets a scalar multiple of the first column of the product of 2-by-2 or 3-by-3 matrix H and specified shifts.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.
π DETAILED DESCRIPTION π
the detailed description is basically the function docs below, bestie β keep scrolling for the full tea π«π«Ά
π FUNCTION DOCUMENTATION π
π§ subroutine claqr1 π§
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.
β¨ Purpose β¨
okay so, given a 2-by-2 or 3-by-3 matrix H, CLAQR1 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. π
π Parameters π
NβNisINTEGER; order of the matrixH.Nmust be either2or3.HβHisCOMPLEXarray, dimension(LDH,N); the 2-by-2 or 3-by-3 matrixHin(*).LDHβLDHisINTEGER; the leading dimension ofHas declared in the calling procedure.LDH >= N.S1βS1isCOMPLEX.S2βS2isCOMPLEX;S1andS2are the shifts definingKin(*)above.VβVisCOMPLEXarray, dimension(N); a scalar multiple of the first column of the matrixKin(*).
π 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 at line 106 of file claqr1.f.
π« subroutine dlaqr1 π«
subroutine dlaqr1 (integer n, double precision, dimension( ldh, * ) h, integer ldh, double precision sr1, double precision si1, double precision sr2, double precision si2, double precision, dimension( * ) v)
DLAQR1 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 β¨
okay so, given a 2-by-2 or 3-by-3 matrix H, DLAQR1 sets v to a scalar multiple of the first column of the product
(*) K = (H - (sr1 + i*si1)*I)*(H - (sr2 + i*si2)*I)
scaling to avoid overflows and most underflows. It is assumed that either
1) sr1 = sr2 and si1 = -si2
or
2) si1 = si2 = 0.
this is useful for starting double implicit shift bulges in the QR algorithm. π
π Parameters π
NβNisINTEGER; order of the matrixH.Nmust be either2or3.HβHisDOUBLE PRECISIONarray, dimension(LDH,N); the 2-by-2 or 3-by-3 matrixHin(*).LDHβLDHisINTEGER; the leading dimension ofHas declared in the calling procedure.LDH >= N.SR1βSR1isDOUBLE PRECISION.SI1βSI1isDOUBLE PRECISION.SR2βSR2isDOUBLE PRECISION.SI2βSI2isDOUBLE PRECISION; the shifts in(*).VβVisDOUBLE PRECISIONarray, dimension(N); a scalar multiple of the first column of the matrixKin(*).
π 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 at line 120 of file dlaqr1.f.
πΈ subroutine slaqr1 πΈ
subroutine slaqr1 (integer n, real, dimension( ldh, * ) h, integer ldh, real sr1, real si1, real sr2, real si2, real, dimension( * ) v)
SLAQR1 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 β¨
okay so, given a 2-by-2 or 3-by-3 matrix H, SLAQR1 sets v to a scalar multiple of the first column of the product
(*) K = (H - (sr1 + i*si1)*I)*(H - (sr2 + i*si2)*I)
scaling to avoid overflows and most underflows. It is assumed that either
1) sr1 = sr2 and si1 = -si2
or
2) si1 = si2 = 0.
this is useful for starting double implicit shift bulges in the QR algorithm. π
π Parameters π
NβNisINTEGER; order of the matrixH.Nmust be either2or3.HβHisREALarray, dimension(LDH,N); the 2-by-2 or 3-by-3 matrixHin(*).LDHβLDHisINTEGER; the leading dimension ofHas declared in the calling procedure.LDH >= N.SR1βSR1isREAL.SI1βSI1isREAL.SR2βSR2isREAL.SI2βSI2isREAL; the shifts in(*).VβVisREALarray, dimension(N); a scalar multiple of the first column of the matrixKin(*).
π 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 at line 120 of file slaqr1.f.
π¦ subroutine zlaqr1 π¦
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 β¨
okay so, 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. π
π Parameters π
NβNisINTEGER; order of the matrixH.Nmust be either2or3.HβHisCOMPLEX*16array, dimension(LDH,N); the 2-by-2 or 3-by-3 matrixHin(*).LDHβLDHisINTEGER; the leading dimension ofHas declared in the calling procedure.LDH >= N.S1βS1isCOMPLEX*16.S2βS2isCOMPLEX*16;S1andS2are the shifts definingKin(*)above.VβVisCOMPLEX*16array, dimension(N); a scalar multiple of the first column of the matrixKin(*).
π 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 at line 106 of file zlaqr1.f.
π AUTHOR π
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off: that's the whole page from LAPACK Version 3.12.0, page laqr1(3) β the footer didn't list a separate date, so we're not inventing one, bestie ππ periodt π
π¦ 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