SRC/dlaein.f(3)
πΈ SRC/dlaein.f(3) πΈ
Okay bestie, welcome to the Library Functions Manual page for SRC/dlaein.f β yes, that's the whole title and it's lowkey giving old-school Fortran glam. π
π NAME π
SRC/dlaein.f β that's the name, periodt. This page documents the DLAEIN subroutine.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dlaein (rightv, noinit, n, h, ldh, wr, wi, vr, vi, b, ldb, work, eps3, smlnum, bignum, info)β DLAEIN computes a specified right or left eigenvector of an upper Hessenberg matrix by inverse iteration.
π¦ Function/Subroutine Documentation π¦
Here's the full signature, copied exactly because we do not mess with Fortran:
subroutine dlaein (logical rightv, logical noinit, integer n, double
precision, dimension( ldh, * ) h, integer ldh, double precision wr,
double precision wi, double precision, dimension( * ) vr, double
precision, dimension( * ) vi, double precision, dimension( ldb, * ) b,
integer ldb, double precision, dimension( * ) work, double precision
eps3, double precision smlnum, double precision bignum, integer info)
DLAEIN computes a specified right or left eigenvector of an upper Hessenberg matrix by inverse iteration. No cap. β¨
π§ Purpose: π§
DLAEIN uses inverse iteration to find a right or left eigenvector corresponding to the eigenvalue(WR,WI)of a real upper Hessenberg matrixH.
π Parameters π
RIGHTVβLOGICAL.= .TRUE.: compute right eigenvector;= .FALSE.: compute left eigenvector.NOINITβLOGICAL.= .TRUE.: no initial vector supplied in(VR,VI).= .FALSE.: initial vector supplied in(VR,VI).NβINTEGER. The order of the matrixH.N >= 0.HβDOUBLE PRECISION array, dimension(LDH,N). The upper Hessenberg matrixH.LDHβINTEGER. The leading dimension of the arrayH.LDH >= max(1,N).WRβDOUBLE PRECISION.WIβDOUBLE PRECISION. The real and imaginary parts of the eigenvalue ofHwhose corresponding right or left eigenvector is to be computed.VRβDOUBLE PRECISION array, dimension(N).VIβDOUBLE PRECISION array, dimension(N). On entry, ifNOINIT = .FALSE.andWI = 0.0,VRmust contain a real starting vector for inverse iteration using the real eigenvalueWR; ifNOINIT = .FALSE.andWI.ne.0.0,VRandVImust contain the real and imaginary parts of a complex starting vector for inverse iteration using the complex eigenvalue(WR,WI); otherwiseVRandVIneed not be set. On exit, ifWI = 0.0(real eigenvalue),VRcontains the computed real eigenvector; ifWI.ne.0.0(complex eigenvalue),VRandVIcontain the real and imaginary parts of the computed complex eigenvector. The eigenvector is 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|.VIis not referenced ifWI = 0.0.BβDOUBLE PRECISION array, dimension(LDB,N).LDBβINTEGER. The leading dimension of the arrayB.LDB >= N+1.WORKβDOUBLE PRECISION array, dimension(N).EPS3βDOUBLE PRECISION. A small machine-dependent value which is used to perturb close eigenvalues, and to replace zero pivots.SMLNUMβDOUBLE PRECISION. A machine-dependent value close to the underflow threshold.BIGNUMβDOUBLE PRECISION. A machine-dependent value close to the overflow threshold.INFOβINTEGER.= 0: successful exit.= 1: inverse iteration did not converge;VRis set to the last iterate, and so isVIifWI.ne.0.0.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 170 of file dlaein.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
mwah π okay bestie, that's the whole page. It's from LAPACK, Version 3.12.0, and the source is SRC/dlaein.f(3). Go slay those eigenvectors! π«Άβ¨
π¦ 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