DSXT1

   Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
   November 2006

Purpose

DSXT1  computes the difference between a set of eigenvalues.
The result is returned as the function value.

IJOB = 1:   Computes   max { min | D1(i)-D2(j) | }
                        i     j

IJOB = 2:   Computes   max { min | D1(i)-D2(j) | /
                        i     j
                             ( ABSTOL + |D1(i)|*ULP ) }

Arguments

ITYPE
(input) INTEGER
Specifies the type of tests to be performed.  (See above.)
D1
(input) DOUBLE PRECISION array, dimension (N1)
The first array.  D1 should be in increasing order, i.e.,
D1(j) <= D1(j+1).
N1
(input) INTEGER
The length of D1.
D2
(input) DOUBLE PRECISION array, dimension (N2)
The second array.  D2 should be in increasing order, i.e.,
D2(j) <= D2(j+1).
N2
(input) INTEGER
The length of D2.
ABSTOL
(input) DOUBLE PRECISION
The absolute tolerance, used as a measure of the error.
ULP
(input) DOUBLE PRECISION
Machine precision.
UNFL
(input) DOUBLE PRECISION
The smallest positive number whose reciprocal does not
overflow.

Call Graph

Caller Graph