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 matrix H.

πŸŽ€ 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 matrix H. N >= 0.
  • H β€” DOUBLE PRECISION array, dimension (LDH,N). The upper Hessenberg matrix H.
  • LDH β€” INTEGER. The leading dimension of the array H. LDH >= max(1,N).
  • WR β€” DOUBLE PRECISION.
  • WI β€” DOUBLE PRECISION. The real and imaginary parts of the eigenvalue of H whose corresponding right or left eigenvector is to be computed.
  • VR β€” DOUBLE PRECISION array, dimension (N).
  • VI β€” DOUBLE PRECISION array, dimension (N). On entry, if NOINIT = .FALSE. and WI = 0.0, VR must contain a real starting vector for inverse iteration using the real eigenvalue WR; if NOINIT = .FALSE. and WI.ne.0.0, VR and VI must contain the real and imaginary parts of a complex starting vector for inverse iteration using the complex eigenvalue (WR,WI); otherwise VR and VI need not be set. On exit, if WI = 0.0 (real eigenvalue), VR contains the computed real eigenvector; if WI.ne.0.0 (complex eigenvalue), VR and VI contain 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|. VI is not referenced if WI = 0.0.
  • B β€” DOUBLE PRECISION array, dimension (LDB,N).
  • LDB β€” INTEGER. The leading dimension of the array B. 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; VR is set to the last iterate, and so is VI if WI.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