1SPPCON(1) LAPACK routine (version 3.1) SPPCON(1)
2
3
4
6 SPPCON - the reciprocal of the condition number (in the 1-norm) of a
7 real symmetric positive definite packed matrix using the Cholesky fac‐
8 torization A = U**T*U or A = L*L**T computed by SPPTRF
9
11 SUBROUTINE SPPCON( UPLO, N, AP, ANORM, RCOND, WORK, IWORK, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, N
16
17 REAL ANORM, RCOND
18
19 INTEGER IWORK( * )
20
21 REAL AP( * ), WORK( * )
22
24 SPPCON estimates the reciprocal of the condition number (in the 1-norm)
25 of a real symmetric positive definite packed matrix using the Cholesky
26 factorization A = U**T*U or A = L*L**T computed by SPPTRF.
27
28 An estimate is obtained for norm(inv(A)), and the reciprocal of the
29 condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
30
31
33 UPLO (input) CHARACTER*1
34 = 'U': Upper triangle of A is stored;
35 = 'L': Lower triangle of A is stored.
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 triangular factor U or L from the Cholesky factorization A
42 = U**T*U or A = L*L**T, packed columnwise in a linear array.
43 The j-th column of U or L is stored in the array AP as follows:
44 if UPLO = 'U', AP(i + (j-1)*j/2) = U(i,j) for 1<=i<=j; if UPLO
45 = 'L', AP(i + (j-1)*(2n-j)/2) = L(i,j) for j<=i<=n.
46
47 ANORM (input) REAL
48 The 1-norm (or infinity-norm) of the symmetric matrix A.
49
50 RCOND (output) REAL
51 The reciprocal of the condition number of the matrix A, com‐
52 puted as RCOND = 1/(ANORM * AINVNM), where AINVNM is an esti‐
53 mate of the 1-norm of inv(A) computed in this routine.
54
55 WORK (workspace) REAL array, dimension (3*N)
56
57 IWORK (workspace) INTEGER array, dimension (N)
58
59 INFO (output) INTEGER
60 = 0: successful exit
61 < 0: if INFO = -i, the i-th argument had an illegal value
62
63
64
65 LAPACK routine (version 3.1) November 2006 SPPCON(1)