SUBROUTINE ZGECON( NORM, N, A, LDA, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 NORM DOUBLE COMPLEX A(LDA,*), WORK(*) INTEGER N, LDA, INFO DOUBLE PRECISION ANORM, RCOND DOUBLE PRECISION WORK2(*) SUBROUTINE ZGECON_64( NORM, N, A, LDA, ANORM, RCOND, WORK, WORK2, * INFO) CHARACTER * 1 NORM DOUBLE COMPLEX A(LDA,*), WORK(*) INTEGER*8 N, LDA, INFO DOUBLE PRECISION ANORM, RCOND DOUBLE PRECISION WORK2(*)
SUBROUTINE GECON( NORM, [N], A, [LDA], ANORM, RCOND, [WORK], [WORK2], * [INFO]) CHARACTER(LEN=1) :: NORM COMPLEX(8), DIMENSION(:) :: WORK COMPLEX(8), DIMENSION(:,:) :: A INTEGER :: N, LDA, INFO REAL(8) :: ANORM, RCOND REAL(8), DIMENSION(:) :: WORK2 SUBROUTINE GECON_64( NORM, [N], A, [LDA], ANORM, RCOND, [WORK], * [WORK2], [INFO]) CHARACTER(LEN=1) :: NORM COMPLEX(8), DIMENSION(:) :: WORK COMPLEX(8), DIMENSION(:,:) :: A INTEGER(8) :: N, LDA, INFO REAL(8) :: ANORM, RCOND REAL(8), DIMENSION(:) :: WORK2
void zgecon(char norm, int n, doublecomplex *a, int lda, double anorm, double *rcond, int *info);
void zgecon_64(char norm, long n, doublecomplex *a, long lda, double anorm, double *rcond, long *info);
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as
RCOND = 1 / ( norm(A) * norm(inv(A)) ).