dppcon - estimate the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite packed matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPPTRF
SUBROUTINE DPPCON( UPLO, N, A, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 UPLO INTEGER N, INFO INTEGER WORK2(*) DOUBLE PRECISION ANORM, RCOND DOUBLE PRECISION A(*), WORK(*)
SUBROUTINE DPPCON_64( UPLO, N, A, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 UPLO INTEGER*8 N, INFO INTEGER*8 WORK2(*) DOUBLE PRECISION ANORM, RCOND DOUBLE PRECISION A(*), WORK(*)
SUBROUTINE PPCON( UPLO, N, A, ANORM, RCOND, [WORK], [WORK2], [INFO]) CHARACTER(LEN=1) :: UPLO INTEGER :: N, INFO INTEGER, DIMENSION(:) :: WORK2 REAL(8) :: ANORM, RCOND REAL(8), DIMENSION(:) :: A, WORK
SUBROUTINE PPCON_64( UPLO, N, A, ANORM, RCOND, [WORK], [WORK2], * [INFO]) CHARACTER(LEN=1) :: UPLO INTEGER(8) :: N, INFO INTEGER(8), DIMENSION(:) :: WORK2 REAL(8) :: ANORM, RCOND REAL(8), DIMENSION(:) :: A, WORK
#include <sunperf.h>
void dppcon(char uplo, int n, double *a, double anorm, double *rcond, int *info);
void dppcon_64(char uplo, long n, double *a, double anorm, double *rcond, long *info);
dppcon estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite packed matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPPTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
= 'U': Upper triangle of A is stored;
= 'L': Lower triangle of A is stored.
U(i,j)
for 1 < =i < =j;
if UPLO = 'L', A(i + (j-1)*(2n-j)/2) = L(i,j)
for j < =i < =n.
inv(A)
computed in this routine.
dimension(3*N)
dimension(N)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value