ZHSEIN(3)
β¨ ZHSEIN(3) β¨
Library Functions Manual energy, bestie π
β this page lives at /home/abui...RC/zhsein.f(3), and the header literally hits you with that same path again (/home/abui...RC/zhsein.f(3)), with Library Functions Manual right in the middle. No cap.
π NAME π
okay so the NAME is literally this whole path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zhsein.f
like, that's the name. Iconic. π
π SYNOPSIS π
π«Ά Functions/Subroutines
subroutine ZHSEIN (side, eigsrc, initv, select, n, h, ldh, w, vl, ldvl,
vr, ldvr, mm, m, work, rwork, ifaill, ifailr, info)
ZHSEIN
π« Function/Subroutine Documentation π«
subroutine ZHSEIN (character side, character eigsrc, character initv,
logical, dimension( * ) select, integer n, complex*16, dimension( ldh, *
) h, integer ldh, complex*16, dimension( * ) w, complex*16, dimension(
ldvl, * ) vl, integer ldvl, complex*16, dimension( ldvr, * ) vr, integer
ldvr, integer mm, integer m, complex*16, dimension( * ) work, double
precision, dimension( * ) rwork, integer, dimension( * ) ifaill,
integer, dimension( * ) ifailr, integer info)
ZHSEIN
β¨ Purpose β¨
ZHSEIN uses inverse iteration to find specified right and/or left eigenvectors of a complex upper Hessenberg matrix H. π₯
The right eigenvector x and the left eigenvector y of the matrix H corresponding to an eigenvalue w are defined by:
H * x = w * x, y**h * H = w * y**h
where y**h denotes the conjugate transpose of the vector y. π
π§ Parameters π§
SIDEβ isCHARACTER*1.= 'R': compute right eigenvectors only;= 'L': compute left eigenvectors only;= 'B': compute both right and left eigenvectors.
EIGSRCβ isCHARACTER*1. Specifies the source of eigenvalues supplied inW:= 'Q': the eigenvalues were found usingZHSEQR; thus, ifHhas zero subdiagonal elements, and so is block-triangular, then the j-th eigenvalue can be assumed to be an eigenvalue of the block containing the j-th row/column. This property allowsZHSEINto perform inverse iteration on just one diagonal block.= 'N': no assumptions are made on the correspondence between eigenvalues and diagonal blocks. In this case,ZHSEINmust always perform inverse iteration using the whole matrixH.
INITVβ isCHARACTER*1.= 'N': no initial vectors are supplied;= 'U': user-supplied initial vectors are stored in the arraysVLand/orVR.
SELECTβ isLOGICAL array, dimension (N). Specifies the eigenvectors to be computed. To select the eigenvector corresponding to the eigenvalueW(j),SELECT(j)must be set to.TRUE.. πNβ isINTEGER. The order of the matrixH.N >= 0.Hβ isCOMPLEX*16 array, dimension (LDH,N). The upper Hessenberg matrixH. If a NaN is detected inH, the routine will return withINFO=-6. πLDHβ isINTEGER. The leading dimension of the arrayH.LDH >= max(1,N).Wβ isCOMPLEX*16 array, dimension (N). On entry, the eigenvalues ofH. On exit, the real parts ofWmay have been altered since close eigenvalues are perturbed slightly in searching for independent eigenvectors. π«ΆVLβ isCOMPLEX*16 array, dimension (LDVL,MM). On entry, ifINITV = 'U'andSIDE = 'L'or'B',VLmust contain starting vectors for the inverse iteration for the left eigenvectors; the starting vector for each eigenvector must be in the same column in which the eigenvector will be stored. On exit, ifSIDE = 'L'or'B', the left eigenvectors specified bySELECTwill be stored consecutively in the columns ofVL, in the same order as their eigenvalues. IfSIDE = 'R',VLis not referenced.LDVLβ isINTEGER. The leading dimension of the arrayVL.LDVL >= max(1,N)ifSIDE = 'L'or'B';LDVL >= 1otherwise.VRβ isCOMPLEX*16 array, dimension (LDVR,MM). On entry, ifINITV = 'U'andSIDE = 'R'or'B',VRmust contain starting vectors for the inverse iteration for the right eigenvectors; the starting vector for each eigenvector must be in the same column in which the eigenvector will be stored. On exit, ifSIDE = 'R'or'B', the right eigenvectors specified bySELECTwill be stored consecutively in the columns ofVR, in the same order as their eigenvalues. IfSIDE = 'L',VRis not referenced.LDVRβ isINTEGER. The leading dimension of the arrayVR.LDVR >= max(1,N)ifSIDE = 'R'or'B';LDVR >= 1otherwise.MMβ isINTEGER. The number of columns in the arraysVLand/orVR.MM >= M.Mβ isINTEGER. The number of columns in the arraysVLand/orVRrequired to store the eigenvectors (= the number of.TRUE.elements inSELECT).WORKβ isCOMPLEX*16 array, dimension (N*N).RWORKβ isDOUBLE PRECISION array, dimension (N).IFAILLβ (the raw parameter label shows up asIFAIL L, which is giving typo energy, but the signature isifaill) β isINTEGER array, dimension (MM). IfSIDE = 'L'or'B',IFAILL(i) = j > 0if the left eigenvector in the i-th column ofVL(corresponding to the eigenvaluew(j)) failed to converge;IFAILL(i) = 0if the eigenvector converged satisfactorily. IfSIDE = 'R',IFAILLis not referenced.IFAILRβ isINTEGER array, dimension (MM). IfSIDE = 'R'or'B',IFAILR(i) = j > 0if the right eigenvector in the i-th column ofVR(corresponding to the eigenvaluew(j)) failed to converge;IFAILR(i) = 0if the eigenvector converged satisfactorily. IfSIDE = 'L',IFAILRis not referenced.INFOβ isINTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i,iis the number of eigenvectors which failed to converge; seeIFAILLandIFAILRfor further details.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
πΈ Further Details πΈ
Each eigenvector is normalized so that the element of largest magnitude has magnitude 1; here the magnitude of a complex number (x,y) is taken to be |x|+|y|. β¨
π Definition at line 242 of file zhsein.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole tea, bestie π«Ά β footer vibes are LAPACK Version 3.12.0 at /home/abui...RC/zhsein.f(3). periodt. π
β¨
π¦ 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