cpocon - estimate the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPOTRF
SUBROUTINE CPOCON( UPLO, N, A, LDA, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 UPLO COMPLEX A(LDA,*), WORK(*) INTEGER N, LDA, INFO REAL ANORM, RCOND REAL WORK2(*)
SUBROUTINE CPOCON_64( UPLO, N, A, LDA, ANORM, RCOND, WORK, WORK2, * INFO) CHARACTER * 1 UPLO COMPLEX A(LDA,*), WORK(*) INTEGER*8 N, LDA, INFO REAL ANORM, RCOND REAL WORK2(*)
SUBROUTINE POCON( UPLO, [N], A, [LDA], ANORM, RCOND, [WORK], [WORK2], * [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: WORK COMPLEX, DIMENSION(:,:) :: A INTEGER :: N, LDA, INFO REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK2
SUBROUTINE POCON_64( UPLO, [N], A, [LDA], ANORM, RCOND, [WORK], * [WORK2], [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX, DIMENSION(:) :: WORK COMPLEX, DIMENSION(:,:) :: A INTEGER(8) :: N, LDA, INFO REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK2
#include <sunperf.h>
void cpocon(char uplo, int n, complex *a, int lda, float anorm, float *rcond, int *info);
void cpocon_64(char uplo, long n, complex *a, long lda, float anorm, float *rcond, long *info);
cpocon estimates the reciprocal of the condition number (in the 1-norm) of a complex Hermitian positive definite matrix using the Cholesky factorization A = U**H*U or A = L*L**H computed by CPOTRF.
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.
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