SRC/claein.f(3)
πΈ NAME πΈ
okay so this is the SRC/claein.f page, from the Library Functions Manual, and it's literally page SRC/claein.f(3) β yes bestie, we're in the Fortran/LAPACK corner of the group chat. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine claeinβ the way that this subroutine ate:CLAEIN computes a specified right or left eigenvector of an upper Hessenberg matrix by inverse iteration.
subroutine claein (rightv, noinit, n, h, ldh, w, v, b, ldb, rwork, eps3,
smlnum, info)
π Function/Subroutine Documentation π
Here's the full signature, no cap:
subroutine claein (logical rightv, logical noinit, integer n, complex,
dimension( ldh, * ) h, integer ldh, complex w, complex, dimension( * )
v, complex, dimension( ldb, * ) b, integer ldb, real, dimension( * )
rwork, real eps3, real smlnum, integer info)
And the one-liner again, because it's iconic: CLAEIN computes a specified right or left eigenvector of an upper Hessenberg matrix by inverse iteration.
π¦ Purpose π¦
okay so the actual purpose, in the original tea: CLAEIN uses inverse iteration to find a right or left eigenvector corresponding to the eigenvalue W of a complex upper Hessenberg matrix H. β¨
π Parameters π
RIGHTVβRIGHTV is LOGICAL.= .TRUE. : compute right eigenvector;= .FALSE.: compute left eigenvector.
NOINITβNOINIT is LOGICAL.= .TRUE. : no initial vector supplied in V= .FALSE.: initial vector supplied in V.
NβN is INTEGER. The order of the matrixH.N >= 0.HβH is COMPLEX array, dimension (LDH,N). The upper Hessenberg matrixH.LDHβLDH is INTEGER. The leading dimension of the arrayH.LDH >= max(1,N).WβW is COMPLEX. The eigenvalue ofHwhose corresponding right or left eigenvector is to be computed.VβV is COMPLEX array, dimension (N). On entry, ifNOINIT = .FALSE.,Vmust contain a starting vector for inverse iteration; otherwiseVneed not be set. On exit,Vcontains the computed eigenvector, normalized so that the component of largest magnitude has magnitude 1; here the magnitude of a complex number(x,y)is taken to be|x| + |y|.BβB is COMPLEX array, dimension (LDB,N).LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβRWORK is REAL array, dimension (N).EPS3βEPS3 is REAL. A small machine-dependent value which is used to perturb close eigenvalues, and to replace zero pivots.SMLNUMβSMLNUM is REAL. A machine-dependent value close to the underflow threshold.INFOβINFO is INTEGER.= 0: successful exit= 1: inverse iteration did not converge; V is set to the last iterate.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 147 of file claein.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page bestie π«Ά β signing off with the footer tea: LAPACK, Version 3.12.0, SRC/claein.f(3). slay, 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