cppcon - estimate the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite packed matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPPTRF
SUBROUTINE CPPCON( UPLO, N, A, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 UPLO COMPLEX A(*), WORK(*) INTEGER N, INFO REAL ANORM, RCOND REAL WORK2(*)
SUBROUTINE CPPCON_64( UPLO, N, A, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 UPLO COMPLEX A(*), WORK(*) INTEGER*8 N, INFO REAL ANORM, RCOND REAL WORK2(*)
SUBROUTINE PPCON( UPLO, N, A, ANORM, RCOND, [WORK], [WORK2], [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: A, WORK INTEGER :: N, INFO REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK2
SUBROUTINE PPCON_64( UPLO, N, A, ANORM, RCOND, [WORK], [WORK2], * [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: A, WORK INTEGER(8) :: N, INFO REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK2
#include <sunperf.h>
void cppcon(char uplo, int n, complex *a, float anorm, float *rcond, int *info);
void cppcon_64(char uplo, long n, complex *a, float anorm, float *rcond, long *info);
cppcon estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite packed matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPPTRF.
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(2*N)
dimension(N)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value