·  Home
+   man pages
 -> Linux -> FreeBSD -> OpenBSD -> NetBSD -> Tru64 Unix -> HP-UX 11i -> IRIX
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

man pages->IRIX man pages -> complib/CH (3)
 Title
 Content
 Arch
 Section All Sections 1 - General Commands 2 - System Calls 3 - Subroutines 4 - Special Files 5 - File Formats 6 - Games 7 - Macros and Conventions 8 - Maintenance Commands 9 - Kernel Interface n - New Commands

### Contents

```
_CH(3F)								       _CH(3F)

```

### NAME[Toc][Back]

```     CH, SCH -	EISPACK	routine.  This subroutine calls	the recommended
sequence of subroutines from the eigensystem subroutine package (EISPACK)
to	find the eigenvalues and eigenvectors (if desired) of a	COMPLEX
HERMITIAN matrix.

```

### SYNOPSYS[Toc][Back]

```	  subroutine  ch(nm,n,ar,ai,w,matz,zr,zi,fv1,fv2,fm1,ierr)
integer	    nm,	n, matz, ierr
double precision ar(nm,n), ai(nm,n), w(n)
double precision zr(nm,n), zi(nm,n), fv1(n), fv2(n), fm1(2,n)

subroutine sch(nm,n,ar,ai,w,matz,zr,zi,fv1,fv2,fm1,ierr)
integer	    nm,	n, matz, ierr
real		   ar(nm,n), ai(nm,n), w(n)
real		   zr(nm,n), zi(nm,n), fv1(n), fv2(n), fm1(2,n)

```

### DESCRIPTION[Toc][Back]

```     On	INPUT

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

N is the order of the matrix  A=(AR,AI).

AR	and  AI	 contain the real and imaginary	parts, respectively, of	the
complex hermitian matrix.

MATZ is an	integer	variable set equal to zero if only eigenvalues are
desired.  Otherwise it is set to any non-zero integer for both
eigenvalues and eigenvectors.  On OUTPUT

W contains	the eigenvalues	in ascending order.

ZR	and  ZI	 contain the real and imaginary	parts, respectively, of	the
eigenvectors if MATZ is not zero.

IERR is an	integer	output variable	set equal to an	error completion code
described in section 2B of	the documentation.  The	normal completion code
is	zero.

FV1 , FV2,	and  FM1  are temporary	storage	arrays.	Questions and comments
should be directed	to B. S. Garbow, APPLIED MATHEMATICS DIVISION, ARGONNE
NATIONAL LABORATORY

PPPPaaaaggggeeee 1111```
[ Back ]
Similar pages