NAG FL Interface
f08flf (ddisna)

Settings help

FL Name Style:


FL Specification Language:


1 Purpose

f08flf computes the reciprocal condition numbers for the eigenvectors of a real symmetric or complex Hermitian m×m matrix A, or for the left or right singular vectors of a general m×n matrix A.

2 Specification

Fortran Interface
Subroutine f08flf ( job, m, n, d, sep, info)
Integer, Intent (In) :: m, n
Integer, Intent (Out) :: info
Real (Kind=nag_wp), Intent (In) :: d(*)
Real (Kind=nag_wp), Intent (Inout) :: sep(*)
Character (1), Intent (In) :: job
C Header Interface
#include <nag.h>
void  f08flf_ (const char *job, const Integer *m, const Integer *n, const double d[], double sep[], Integer *info, const Charlen length_job)
The routine may be called by the names f08flf, nagf_lapackeig_ddisna or its LAPACK name ddisna.

3 Description

The bound on the error, measured by the angle in radians, for the ith computed vector is given by ε A2 / sepi , where ε is the machine precision and sepi is the reciprocal condition number for the vectors, returned in the array element sep(i) . sep(i) is restricted to be at least ε A2 in order to limit the size of the error bound.

4 References

Golub G H and Van Loan C F (1996) Matrix Computations (3rd Edition) Johns Hopkins University Press, Baltimore

5 Arguments

1: job Character(1) Input
On entry: specifies for which problem the reciprocal condition number should be computed.
job='E'
The eigenvectors of a symmetric or Hermitian matrix.
job='L'
The left singular vectors of a general matrix.
job='R'
The right singular vectors of a general matrix.
Constraint: job='E', 'L' or 'R'.
2: m Integer Input
On entry: m, the number of rows of the matrix A.
Constraint: m0.
3: n Integer Input
On entry: n, the number of columns of the matrix when job='L' or 'R'.
If job='E', n is not referenced.
Constraint: if job='L' or 'R', n0.
4: d(*) Real (Kind=nag_wp) array Input
Note: the dimension of the array d must be at least max(1,m) if job='E' and at least max(1,min(m,n)) if job='L' or 'R'.
On entry: the eigenvalues if job='E', or singular values if job='L' or 'R' of the matrix A.
Constraints:
  • the elements of the array d must be in either increasing or decreasing order;
  • if job='L' or 'R' the elements of d must be non-negative.
5: sep(*) Real (Kind=nag_wp) array Output
Note: the dimension of the array sep must be at least max(1,m) if job='E' and at least max(1,min(m,n)) if job='L' or 'R'.
On exit: the reciprocal condition numbers of the vectors.
6: info Integer Output
On exit: info=0 unless the routine detects an error (see Section 6).

6 Error Indicators and Warnings

info<0
If info=-i, argument i had an illegal value. An explanatory message is output, and execution of the program is terminated.

7 Accuracy

The reciprocal condition numbers are computed to machine precision relative to the size of the eigenvalues, or singular values.

8 Parallelism and Performance

Background information to multithreading can be found in the Multithreading documentation.
f08flf is not threaded in any implementation.

9 Further Comments

f08flf may also be used towards computing error bounds for the eigenvectors of the generalized symmetric or Hermitian definite eigenproblem. See Golub and Van Loan (1996) for further details on the error bounds.

10 Example

The use of f08flf in computing error bounds for eigenvectors of the symmetric eigenvalue problem is illustrated in f08faf; its use in computing error bounds for singular vectors is illustrated in f08kbf; and its use in computing error bounds for eigenvectors of the generalized symmetric definite eigenvalue problem is illustrated in f08saf.