LAPACK
3.6.1
LAPACK: Linear Algebra PACKage
|
double precision function dsxt1 | ( | integer | IJOB, |
double precision, dimension( * ) | D1, | ||
integer | N1, | ||
double precision, dimension( * ) | D2, | ||
integer | N2, | ||
double precision | ABSTOL, | ||
double precision | ULP, | ||
double precision | UNFL | ||
) |
DSXT1
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 ) }
[in] | IJOB | IJOB is INTEGER Specifies the type of tests to be performed. (See above.) |
[in] | D1 | D1 is DOUBLE PRECISION array, dimension (N1) The first array. D1 should be in increasing order, i.e., D1(j) <= D1(j+1). |
[in] | N1 | N1 is INTEGER The length of D1. |
[in] | D2 | D2 is DOUBLE PRECISION array, dimension (N2) The second array. D2 should be in increasing order, i.e., D2(j) <= D2(j+1). |
[in] | N2 | N2 is INTEGER The length of D2. |
[in] | ABSTOL | ABSTOL is DOUBLE PRECISION The absolute tolerance, used as a measure of the error. |
[in] | ULP | ULP is DOUBLE PRECISION Machine precision. |
[in] | UNFL | UNFL is DOUBLE PRECISION The smallest positive number whose reciprocal does not overflow. |
Definition at line 108 of file dsxt1.f.