![]() |
LAPACK
3.9.0
LAPACK: Linear Algebra PACKage
|
| 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.
Download ZLAQR1 + dependencies [TGZ] [ZIP] [TXT]
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. | [in] | N | N is INTEGER
Order of the matrix H. N must be either 2 or 3. |
| [in] | H | H is COMPLEX*16 array, dimension (LDH,N)
The 2-by-2 or 3-by-3 matrix H in (*). |
| [in] | LDH | LDH is INTEGER
The leading dimension of H as declared in
the calling procedure. LDH >= N |
| [in] | S1 | S1 is COMPLEX*16 |
| [in] | S2 | S2 is COMPLEX*16
S1 and S2 are the shifts defining K in (*) above. |
| [out] | V | V is COMPLEX*16 array, dimension (N)
A scalar multiple of the first column of the
matrix K in (*). |
Definition at line 109 of file zlaqr1.f.