*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> complib/HQR2 (3)              
Title
Content
Arch
Section
 

Contents


_HQR2(3F)							     _HQR2(3F)


NAME    [Toc]    [Back]

     HQR2, SHQR2  -  EISPACK routine.  This subroutine finds the eigenvalues
     and eigenvectors of a REAL	UPPER Hessenberg matrix	by the QR method.  The
     eigenvectors of a REAL GENERAL matrix can also be found if	 ELMHES	 and
     ELTRAN  or	 ORTHES	 and  ORTRAN  have been	used to	reduce this general
     matrix to Hessenberg form and to accumulate the similarity
     transformations.

SYNOPSYS    [Toc]    [Back]

	  subroutine  hqr2(nm, n, low, igh, h, wr, wi, z, ierr)
	  integer	    nm,	n, low,	igh, ierr
	  double precision h(nm,n), wr(n), wi(n), z(nm,n)

	  subroutine shqr2(nm, n, low, igh, h, wr, wi, z, ierr)
	  integer	    nm,	n, low,	igh, ierr
	  real		   h(nm,n), wr(n), wi(n), z(nm,n)



DESCRIPTION    [Toc]    [Back]

     On	INPUT

     NM	must be	set to the row dimension of two-dimensional array parameters
     as	declared in the	calling	program	dimension statement.

     N is the order of the matrix.

     LOW and IGH are integers determined by the	balancing subroutine  BALANC.
     If	 BALANC	 has not been used, set	LOW=1, IGH=N.

     H contains	the upper Hessenberg matrix.

     Z contains	the transformation matrix produced by  ELTRAN after the
     reduction by  ELMHES, or by  ORTRAN  after	the reduction by  ORTHES, if
     performed.	 If the	eigenvectors of	the Hessenberg matrix are desired, Z
     must contain the identity matrix.	On OUTPUT

     H has been	destroyed.

     WR	and WI contain the real	and imaginary parts, respectively, of the
     eigenvalues.  The eigenvalues are unordered except	that complex conjugate
     pairs of values appear consecutively with the eigenvalue having the
     positive imaginary	part first.  If	an error exit is made, the eigenvalues
     should be correct for indices IERR+1,...,N.

     Z contains	the real and imaginary parts of	the eigenvectors. If the I-th
     eigenvalue	is real, the I-th column of Z contains its eigenvector.	 If
     the I-th eigenvalue is complex with positive imaginary part, the I-th and
     (I+1)-th columns of Z contain the real and	imaginary parts	of its
     eigenvector.  The eigenvectors are	unnormalized.  If an error exit	is



									Page 1






_HQR2(3F)							     _HQR2(3F)



     made, none	of the eigenvectors has	been found.

     IERR is set to Zero       for normal return, J	     if	the J-th
     eigenvalue	has not	been
	determined after a total of 30*N iterations.  Calls CDIV for complex
     division.	Questions and comments should be directed to B.	S. Garbow,
     APPLIED MATHEMATICS DIVISION, ARGONNE NATIONAL LABORATORY


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
COMLR2 IRIX EISPACK routine. This subroutine finds the eigenvalues and eigenvectors of a COMPLEX UPPER Hessenberg matrix b
COMQR2 IRIX EISPACK routine. This subroutine finds the eigenvalues and eigenvectors of a COMPLEX UPPER Hessenberg matrix b
INVIT IRIX EISPACK routine. This subroutine finds those eigenvectors of a REAL UPPER Hessenberg matrix corresponding to s
HQR IRIX EISPACK routine. This subroutine finds the eigenvalues of a REAL UPPER Hessenberg matrix by the QR method.
CINVIT IRIX EISPACK routine. This subroutine finds those eigenvectors of A COMPLEX UPPER Hessenberg matrix corresponding t
COMQR IRIX EISPACK routine. This subroutine finds the eigenvalues of a COMPLEX upper Hessenberg matrix by the QR method.
COMLR IRIX EISPACK routine. This subroutine finds the eigenvalues of a COMPLEX UPPER Hessenberg matrix by the modified LR
TQL2 IRIX EISPACK routine. This subroutine finds the eigenvalues and eigenvectors of a SYMMETRIC TRIDIAGONAL matrix by t
IMTQL2 IRIX EISPACK routine. This subroutine finds the eigenvalues and eigenvectors of a SYMMETRIC TRIDIAGONAL matrix by t
BANDV IRIX EISPACK routine. This subroutine finds those eigenvectors of a REAL SYMMETRIC BAND matrix corresponding to spe
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service