LAPACK 3.11.0
LAPACK: Linear Algebra PACKage

◆ ssxt1()

real function ssxt1 ( integer  IJOB,
real, dimension( * )  D1,
integer  N1,
real, dimension( * )  D2,
integer  N2,
real  ABSTOL,
real  ULP,
real  UNFL 
)

SSXT1

Purpose:
 SSXT1  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 ) }
Parameters
[in]IJOB
          IJOB is INTEGER
          Specifies the type of tests to be performed.  (See above.)
[in]D1
          D1 is REAL 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 REAL 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 REAL
          The absolute tolerance, used as a measure of the error.
[in]ULP
          ULP is REAL
          Machine precision.
[in]UNFL
          UNFL is REAL
          The smallest positive number whose reciprocal does not
          overflow.
Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.