Scroll to navigation

SLAEIN(1) LAPACK auxiliary routine (version 3.2) SLAEIN(1)

NAME

SLAEIN - uses inverse iteration to find a right or left eigenvector corresponding to the eigenvalue (WR,WI) of a real upper Hessenberg matrix H

SYNOPSIS

RIGHTV, NOINIT, N, H, LDH, WR, WI, VR, VI, B, LDB, WORK, EPS3, SMLNUM, BIGNUM, INFO )

LOGICAL NOINIT, RIGHTV INTEGER INFO, LDB, LDH, N REAL BIGNUM, EPS3, SMLNUM, WI, WR REAL B( LDB, * ), H( LDH, * ), VI( * ), VR( * ), WORK( * )

PURPOSE

SLAEIN uses inverse iteration to find a right or left eigenvector corresponding to the eigenvalue (WR,WI) of a real upper Hessenberg matrix H.

ARGUMENTS

= .TRUE. : compute right eigenvector;
= .FALSE.: compute left eigenvector.

= .TRUE. : no initial vector supplied in (VR,VI).
= .FALSE.: initial vector supplied in (VR,VI).
The order of the matrix H. N >= 0.
The upper Hessenberg matrix H.
The leading dimension of the array H. LDH >= max(1,N).
WI (input) REAL The real and imaginary parts of the eigenvalue of H whose corresponding right or left eigenvector is to be computed.
VI (input/output) REAL 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.
The leading dimension of the array B. LDB >= N+1.
A small machine-dependent value which is used to perturb close eigenvalues, and to replace zero pivots.
A machine-dependent value close to the underflow threshold.
A machine-dependent value close to the overflow threshold.
= 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.
November 2008 LAPACK auxiliary routine (version 3.2)