ZLAQR2(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… ZLAQR2(3) β€” aggressive early deflation, but make it fashion πŸ’…

okay so bestie, welcome to the Library Functions Manual page for zlaqr2.f πŸ’–. The full source path is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqr2.f, and the page itself is sitting at /home/abui...RC/zlaqr2.f(3). This is the LAPACK subroutine that does aggressive early deflation, and it is lowkey iconic. No cap.


✨ NAME ✨

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlaqr2.f β€” that's the file, bestie. It's the ZLAQR2 subroutine page from the Library Functions Manual. The vibe? Aggressive early deflation. Periodt.

🌸 SYNOPSIS 🌸

πŸŽ€ Functions/Subroutines πŸŽ€

Here's the subroutine, exactly as advertised:

subroutine ZLAQR2 (wantt, wantz, n, ktop, kbot, nw, h, ldh, iloz, ihiz,
    z, ldz, ns, nd, sh, v, ldv, nh, t, ldt, nv, wv, ldwv, work, lwork)

And the one-line tea: ZLAQR2 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation).

πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

✨ subroutine ZLAQR2 ✨

Full signature, copied with love and zero edits:

subroutine ZLAQR2 (logical wantt, logical wantz, integer n, integer ktop,
    integer kbot, integer nw, complex*16, dimension( ldh, * ) h, integer
    ldh, integer iloz, integer ihiz, complex*16, dimension( ldz, * ) z,
    integer ldz, integer ns, integer nd, complex*16, dimension( * ) sh,
    complex*16, dimension( ldv, * ) v, integer ldv, integer nh, complex*16,
    dimension( ldt, * ) t, integer ldt, integer nv, complex*16, dimension(
    ldwv, * ) wv, integer ldwv, complex*16, dimension( * ) work, integer
    lwork)

ZLAQR2 performs the unitary similarity transformation of a Hessenberg matrix to detect and deflate fully converged eigenvalues from a trailing principal submatrix (aggressive early deflation).

🌟 Purpose 🌟

okay so the purpose, in bestie terms: ZLAQR2 is identical to ZLAQR3 except that it avoids recursion by calling ZLAHQR instead of ZLAQR4. That's the whole flex. πŸ’…

Aggressive early deflation: ZLAQR2 accepts as input an upper Hessenberg matrix H and performs a unitary similarity transformation designed to detect and deflate fully converged eigenvalues from a trailing principal submatrix. On output H has been overwritten by a new Hessenberg matrix that is a perturbation of a unitary similarity transformation of H. It is to be hoped that the final version of H has many zero subdiagonal entries. πŸ™

πŸ“ Parameters πŸ“

  • WANTT β€” WANTT is LOGICAL. If .TRUE., then the Hessenberg matrix H is fully updated so that the triangular Schur factor may be computed (in cooperation with the calling subroutine). If .FALSE., then only enough of H is updated to preserve the eigenvalues.
  • WANTZ β€” WANTZ is LOGICAL. If .TRUE., then the unitary matrix Z is updated so that the unitary Schur factor may be computed (in cooperation with the calling subroutine). If .FALSE., then Z is not referenced.
  • N β€” N is INTEGER. The order of the matrix H and (if WANTZ is .TRUE.) the order of the unitary matrix Z.
  • KTOP β€” KTOP is INTEGER. It is assumed that either KTOP = 1 or H(KTOP,KTOP-1)=0. KBOT and KTOP together determine an isolated block along the diagonal of the Hessenberg matrix.
  • KBOT β€” KBOT is INTEGER. It is assumed without a check that either KBOT = N or H(KBOT+1,KBOT)=0. KBOT and KTOP together determine an isolated block along the diagonal of the Hessenberg matrix.
  • NW β€” NW is INTEGER. Deflation window size. 1 <= NW <= (KBOT-KTOP+1).
  • H β€” H is COMPLEX*16 array, dimension (LDH,N). On input the initial N-by-N section of H stores the Hessenberg matrix undergoing aggressive early deflation. On output H has been transformed by a unitary similarity transformation, perturbed, and returned to Hessenberg form that (it is to be hoped) has some zero subdiagonal entries.
  • LDH β€” LDH is INTEGER. Leading dimension of H just as declared in the calling subroutine. N <= LDH.
  • ILOZ β€” ILOZ is INTEGER.
  • IHIZ β€” IHIZ is INTEGER. Specify the rows of Z to which transformations must be applied if WANTZ is .TRUE.. 1 <= ILOZ <= IHIZ <= N.
  • Z β€” Z is COMPLEX*16 array, dimension (LDZ,N). If WANTZ is .TRUE., then on output, the unitary similarity transformation mentioned above has been accumulated into Z(ILOZ:IHIZ,ILOZ:IHIZ) from the right. If WANTZ is .FALSE., then Z is unreferenced.
  • LDZ β€” LDZ is INTEGER. The leading dimension of Z just as declared in the calling subroutine. 1 <= LDZ.
  • NS β€” NS is INTEGER. The number of unconverged (ie approximate) eigenvalues returned in SR and SI that may be used as shifts by the calling subroutine.
  • ND β€” ND is INTEGER. The number of converged eigenvalues uncovered by this subroutine.
  • SH β€” SH is COMPLEX*16 array, dimension (KBOT). On output, approximate eigenvalues that may be used for shifts are stored in SH(KBOT-ND-NS+1) through SR(KBOT-ND). Converged eigenvalues are stored in SH(KBOT-ND+1) through SH(KBOT).
  • V β€” V is COMPLEX*16 array, dimension (LDV,NW). An NW-by-NW work array.
  • LDV β€” LDV is INTEGER. The leading dimension of V just as declared in the calling subroutine. NW <= LDV.
  • NH β€” NH is INTEGER. The number of columns of T. NH >= NW.
  • T β€” T is COMPLEX*16 array, dimension (LDT,NW).
  • LDT β€” LDT is INTEGER. The leading dimension of T just as declared in the calling subroutine. NW <= LDT.
  • NV β€” NV is INTEGER. The number of rows of work array WV available for workspace. NV >= NW.
  • WV β€” WV is COMPLEX*16 array, dimension (LDWV,NW).
  • LDWV β€” LDWV is INTEGER. The leading dimension of W just as declared in the calling subroutine. NW <= LDV.
  • WORK β€” WORK is COMPLEX*16 array, dimension (LWORK). On exit, WORK(1) is set to an estimate of the optimal value of LWORK for the given values of N, NW, KTOP and KBOT.
  • LWORK β€” LWORK is INTEGER. The dimension of the work array WORK. LWORK = 2*NW suffices, but greater efficiency may result from larger values of LWORK.

If LWORK = -1, then a workspace query is assumed; ZLAQR2 only estimates the optimal workspace size for the given values of N, NW, KTOP and KBOT. The estimate is returned in WORK(1). No error message related to LWORK is issued by XERBLA. Neither H nor Z are accessed.

πŸ‘‘ 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 267 of file zlaqr2.f.

πŸ™ˆ Author (the autogenerated one) πŸ™ˆ

Generated automatically by Doxygen for LAPACK from the source code.


cute sign-off time 🫢: this page is from LAPACK Version 3.12.0, at /home/abui...RC/zlaqr2.f(3). No date is printed on this page, so we're not inventing one β€” slay responsibly πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from