ZLAHQR(3)
NAME π
okay so the NAME is literally this full path, bestie β no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zlahqr.f
and this page is from the Library Functions Manual as /home/abui...RC/zlahqr.f(3) (the title is giving path realness π
).
SYNOPSIS β¨
Functions/Subroutines π¦
subroutine ZLAHQR (wantt, wantz, n, ilo, ihi, h, ldh, w, iloz, ihiz, z,
ldz, info)
ZLAHQR computes the eigenvalues and Schur factorization of an upper Hessenberg matrix, using the double-shift/single-shift QR algorithm.
Function/Subroutine Documentation π«Ά
subroutine ZLAHQR (β¦) π
subroutine ZLAHQR (logical wantt, logical wantz, integer n, integer ilo,
integer ihi, complex*16, dimension( ldh, * ) h, integer ldh, complex*16,
dimension( * ) w, integer iloz, integer ihiz, complex*16, dimension(
ldz, * ) z, integer ldz, integer info)
ZLAHQR computes the eigenvalues and Schur factorization of an upper Hessenberg matrix, using the double-shift/single-shift QR algorithm.
Purpose π
ZLAHQR is an auxiliary routine called by CHSEQR to update the eigenvalues and Schur decomposition already computed by CHSEQR, by dealing with the Hessenberg submatrix in rows and columns ILO to IHI.
Parameters π
WANTTβWANTT is LOGICAL.= .TRUE.: the full Schur formTis required;= .FALSE.: only eigenvalues are required.
WANTZβWANTZ is LOGICAL.= .TRUE.: the matrix of Schur vectorsZis required;= .FALSE.: Schur vectors are not required.
NβN is INTEGER. The order of the matrixH.N >= 0.ILOβILO is INTEGER.IHIβIHI is INTEGER. It is assumed thatHis already upper triangular in rows and columnsIHI+1:N, and thatH(ILO,ILO-1) = 0(unlessILO = 1).ZLAHQRworks primarily with the Hessenberg submatrix in rows and columnsILOtoIHI, but applies transformations to all ofHifWANTTis.TRUE..1 <= ILO <= max(1,IHI); IHI <= N.HβH is COMPLEX*16 array, dimension (LDH,N). On entry, the upper Hessenberg matrixH. On exit, ifINFOis zero and ifWANTTis.TRUE., thenHis upper triangular in rows and columnsILO:IHI. IfINFOis zero and ifWANTTis.FALSE., then the contents ofHare unspecified on exit. The output state ofHin caseINFis positive is below under the description ofINFO. (yes it says INF, not INFO, that's literally what the page says π)LDHβLDH is INTEGER. The leading dimension of the arrayH.LDH >= max(1,N).WβW is COMPLEX*16 array, dimension (N). The computed eigenvaluesILOtoIHIare stored in the corresponding elements ofW. IfWANTTis.TRUE., the eigenvalues are stored in the same order as on the diagonal of the Schur form returned inH, withW(i) = H(i,i).ILOZβILOZ is INTEGER.IHIZβIHIZ is INTEGER. Specify the rows ofZto which transformations must be applied ifWANTZis.TRUE..1 <= ILOZ <= ILO; IHI <= IHIZ <= N.ZβZ is COMPLEX*16 array, dimension (LDZ,N). IfWANTZis.TRUE., on entryZmust contain the current matrixZof transformations accumulated byCHSEQR, and on exitZhas been updated; transformations are applied only to the submatrixZ(ILOZ:IHIZ,ILO:IHI). IfWANTZis.FALSE.,Zis not referenced.LDZβLDZ is INTEGER. The leading dimension of the arrayZ.LDZ >= max(1,N).INFOβINFO is INTEGER.= 0:successful exit> 0:ifINFO = i,ZLAHQRfailed to compute all the eigenvaluesILOtoIHIin a total of30iterations per eigenvalue; elementsi+1:ihiofWcontain those eigenvalues which have been successfully computed.- If
INFO > 0andWANTTis.FALSE., then on exit, the remaining unconverged eigenvalues are the eigenvalues of the upper Hessenberg matrix rows and columnsILOthroughINFOof the final, output value ofH. - If
INFO > 0andWANTTis.TRUE., then on exit(*) (initial value of H)*U = U*(final value of H)whereUis an orthogonal matrix. The final value ofHis upper Hessenberg and triangular in rows and columnsINFO+1throughIHI. - If
INFO > 0andWANTZis.TRUE., then on exit(final value of Z) = (initial value of Z)*UwhereUis the orthogonal matrix in(*)(regardless of the value ofWANTT.)
Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Contributors π«Ά
02-96 Based on modifications by David Day, Sandia National Laboratory, USA12-04 Further modifications by Ralph Byers, University of Kansas, USAThis is a modified version of ZLAHQR from LAPACK version 3.0. It is (1) more robust against overflow and underflow and (2) adopts the more conservative Ahues & Tisseur stopping criterion (LAWN 122, 1997).
Definition π
Definition at line 193 of file zlahqr.f.
Author π€
Generated automatically by Doxygen for LAPACK from the source code.
signed off by LAPACK Version 3.12.0, from /home/abui...RC/zlahqr.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