f08fl computes the reciprocal condition numbers for the eigenvectors of a real symmetric or complex Hermitian by matrix , or for the left or right singular vectors of a general by matrix .
Syntax
C# |
---|
public static void f08fl( string job, int m, int n, double[] d, double[] sep, out int info ) |
Visual Basic |
---|
Public Shared Sub f08fl ( _ job As String, _ m As Integer, _ n As Integer, _ d As Double(), _ sep As Double(), _ <OutAttribute> ByRef info As Integer _ ) |
Visual C++ |
---|
public: static void f08fl( String^ job, int m, int n, array<double>^ d, array<double>^ sep, [OutAttribute] int% info ) |
F# |
---|
static member f08fl : job : string * m : int * n : int * d : float[] * sep : float[] * info : int byref -> unit |
Parameters
- job
- Type: System..::..StringOn 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 .
- m
- Type: System..::..Int32On entry: , the number of rows of the matrix .Constraint: .
- n
- Type: System..::..Int32On entry: , the number of columns of the matrix when or .If , n is not referenced.Constraint: if or , .
- d
- Type: array<System..::..Double>[]()[][]An array of size [dim1]Note: the dimension of the array d must be at least if and at least if or .On entry: the eigenvalues if , or singular values if or of the matrix .
- sep
- Type: array<System..::..Double>[]()[][]An array of size [dim1]Note: the dimension of the array sep must be at least if and at least if or .On exit: the reciprocal condition numbers of the vectors.
- info
- Type: System..::..Int32%On exit: unless the method detects an error (see [Error Indicators and Warnings]).
Description
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.
References
Golub G H and Van Loan C F (1996) Matrix Computations (3rd Edition) Johns Hopkins University Press, Baltimore
Error Indicators and Warnings
- If , argument had an illegal value. An explanatory message is output, and execution of the program is terminated.
Accuracy
The reciprocal condition numbers are computed to machine precision relative to the size of the eigenvalues, or singular values.
Parallelism and Performance
None.
Further Comments
f08fl 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.
Example
The use of f08fl in computing error bounds for eigenvectors of the symmetric eigenvalue problem is illustrated in [Example] in f08fa; its use in computing error bounds for singular vectors is illustrated in [Example] in f08kb; and its use in computing error bounds for eigenvectors of the generalized symmetric definite eigenvalue problem is illustrated in [Example] in f08sa.