1SSPCON(1) LAPACK routine (version 3.2) SSPCON(1)
2
3
4
6 SSPCON - estimates the reciprocal of the condition number (in the
7 1-norm) of a real symmetric packed matrix A using the factorization A =
8 U*D*U**T or A = L*D*L**T computed by SSPTRF
9
11 SUBROUTINE SSPCON( UPLO, N, AP, IPIV, ANORM, RCOND, WORK, IWORK, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, N
16
17 REAL ANORM, RCOND
18
19 INTEGER IPIV( * ), IWORK( * )
20
21 REAL AP( * ), WORK( * )
22
24 SSPCON estimates the reciprocal of the condition number (in the 1-norm)
25 of a real symmetric packed matrix A using the factorization A =
26 U*D*U**T or A = L*D*L**T computed by SSPTRF. An estimate is obtained
27 for norm(inv(A)), and the reciprocal of the condition number is com‐
28 puted as RCOND = 1 / (ANORM * norm(inv(A))).
29
31 UPLO (input) CHARACTER*1
32 Specifies whether the details of the factorization are stored
33 as an upper or lower triangular matrix. = 'U': Upper triangu‐
34 lar, form is A = U*D*U**T;
35 = 'L': Lower triangular, form is A = L*D*L**T.
36
37 N (input) INTEGER
38 The order of the matrix A. N >= 0.
39
40 AP (input) REAL array, dimension (N*(N+1)/2)
41 The block diagonal matrix D and the multipliers used to obtain
42 the factor U or L as computed by SSPTRF, stored as a packed
43 triangular matrix.
44
45 IPIV (input) INTEGER array, dimension (N)
46 Details of the interchanges and the block structure of D as
47 determined by SSPTRF.
48
49 ANORM (input) REAL
50 The 1-norm of the original matrix A.
51
52 RCOND (output) REAL
53 The reciprocal of the condition number of the matrix A, com‐
54 puted as RCOND = 1/(ANORM * AINVNM), where AINVNM is an esti‐
55 mate of the 1-norm of inv(A) computed in this routine.
56
57 WORK (workspace) REAL array, dimension (2*N)
58
59 IWORK (workspace) INTEGER array, dimension (N)
60
61 INFO (output) INTEGER
62 = 0: successful exit
63 < 0: if INFO = -i, the i-th argument had an illegal value
64
65
66
67 LAPACK routine (version 3.2) November 2008 SSPCON(1)