1SDISNA(1) LAPACK routine (version 3.1) SDISNA(1)
2
3
4
6 SDISNA - 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 SDISNA( JOB, M, N, D, SEP, INFO )
12
13 CHARACTER JOB
14
15 INTEGER INFO, M, N
16
17 REAL D( * ), SEP( * )
18
20 SDISNA 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 SLAMCH( '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 SLAMCH( 'E' )*ANORM in order to limit the size of the
33 error bound.
34
35 SDISNA 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) REAL 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) REAL 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 SDISNA(1)