1DDISNA(1) LAPACK routine (version 3.1) DDISNA(1)
2
3
4
6 DDISNA - the reciprocal condition numbers for the eigenvectors of a
7 real symmetric or complex Hermitian matrix or for the left or right
8 singular vectors of a general m-by-n matrix
9
11 SUBROUTINE DDISNA( JOB, M, N, D, SEP, INFO )
12
13 CHARACTER JOB
14
15 INTEGER INFO, M, N
16
17 DOUBLE PRECISION D( * ), SEP( * )
18
20 DDISNA computes the reciprocal condition numbers for the eigenvectors
21 of a real symmetric or complex Hermitian matrix or for the left or
22 right singular vectors of a general m-by-n matrix. The reciprocal con‐
23 dition number is the 'gap' between the corresponding eigenvalue or sin‐
24 gular value and the nearest other one.
25
26 The bound on the error, measured by angle in radians, in the I-th com‐
27 puted vector is given by
28
29 DLAMCH( 'E' ) * ( ANORM / SEP( I ) )
30
31 where ANORM = 2-norm(A) = max( abs( D(j) ) ). SEP(I) is not allowed to
32 be smaller than DLAMCH( 'E' )*ANORM in order to limit the size of the
33 error bound.
34
35 DDISNA may also be used to compute error bounds for eigenvectors of the
36 generalized symmetric definite eigenproblem.
37
38
40 JOB (input) CHARACTER*1
41 Specifies for which problem the reciprocal condition numbers
42 should be computed:
43 = 'E': the eigenvectors of a symmetric/Hermitian matrix;
44 = 'L': the left singular vectors of a general matrix;
45 = 'R': the right singular vectors of a general matrix.
46
47 M (input) INTEGER
48 The number of rows of the matrix. M >= 0.
49
50 N (input) INTEGER
51 If JOB = 'L' or 'R', the number of columns of the matrix, in
52 which case N >= 0. Ignored if JOB = 'E'.
53
54 D (input) DOUBLE PRECISION array, dimension (M) if JOB = 'E'
55 dimension (min(M,N)) if JOB = 'L' or 'R' The eigenvalues (if
56 JOB = 'E') or singular values (if JOB = 'L' or 'R') of the
57 matrix, in either increasing or decreasing order. If singular
58 values, they must be non-negative.
59
60 SEP (output) DOUBLE PRECISION array, dimension (M) if JOB = 'E'
61 dimension (min(M,N)) if JOB = 'L' or 'R' The reciprocal condi‐
62 tion numbers of the vectors.
63
64 INFO (output) INTEGER
65 = 0: successful exit.
66 < 0: if INFO = -i, the i-th argument had an illegal value.
67
68
69
70 LAPACK routine (version 3.1) November 2006 DDISNA(1)