f08flc computes the reciprocal condition numbers for the eigenvectors of a real symmetric or complex Hermitian matrix , or for the left or right singular vectors of a general matrix .
The function may be called by the names: f08flc, nag_lapackeig_ddisna or nag_ddisna.
3Description
The bound on the error, measured by the angle in radians, for the th computed vector is given by , where is the machine precision and is the reciprocal condition number for the vectors, returned in the array element . is restricted to be at least in order to limit the size of the error bound.
4References
Golub G H and Van Loan C F (1996) Matrix Computations (3rd Edition) Johns Hopkins University Press, Baltimore
5Arguments
1: – Nag_JobTypeInput
On entry: specifies for which problem the reciprocal condition number should be computed.
The eigenvectors of a symmetric or Hermitian matrix.
The left singular vectors of a general matrix.
The right singular vectors of a general matrix.
Constraint:
, or .
2: – IntegerInput
On entry: , the number of rows of the matrix .
Constraint:
.
3: – IntegerInput
On entry: , the number of columns of the matrix when or .
Note: the dimension, dim, of the array sep
must be at least
when ;
when or .
On exit: the reciprocal condition numbers of the vectors.
6: – NagError *Input/Output
The NAG error argument (see Section 7 in the Introduction to the NAG Library CL Interface).
6Error Indicators and Warnings
NE_ALLOC_FAIL
Dynamic memory allocation failed.
See Section 3.1.2 in the Introduction to the NAG Library CL Interface for further information.
NE_BAD_PARAM
On entry, argument had an illegal value.
NE_ENUM_INT
On entry, and .
Constraint: if or , .
NE_INT
On entry, .
Constraint: .
NE_INTERNAL_ERROR
An internal error has occurred in this function. Check the function call and any array sizes. If the call is correct then please contact NAG for assistance.
See Section 7.5 in the Introduction to the NAG Library CL Interface for further information.
NE_NO_LICENCE
Your licence key may have expired or may not have been installed correctly.
See Section 8 in the Introduction to the NAG Library CL Interface for further information.
NE_NOT_MONOTONIC
Constraint: the elements of the array d must be in either increasing or decreasing order. if or the elements of d must be non-negative.
7Accuracy
The reciprocal condition numbers are computed to machine precision relative to the size of the eigenvalues, or singular values.
8Parallelism and Performance
Background information to multithreading can be found in the Multithreading documentation.
f08flc is not threaded in any implementation.
9Further Comments
f08flc 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.
10Example
The use of f08flc in computing error bounds for eigenvectors of the symmetric eigenvalue problem is illustrated in f08fac; its use in computing error bounds for singular vectors is illustrated in f08kbc; and its use in computing error bounds for eigenvectors of the generalized symmetric definite eigenvalue problem is illustrated in f08sac.