SUBROUTINE ZSPCON( UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO) CHARACTER * 1 UPLO DOUBLE COMPLEX A(*), WORK(*) INTEGER N, INFO INTEGER IPIVOT(*) DOUBLE PRECISION ANORM, RCOND SUBROUTINE ZSPCON_64( UPLO, N, A, IPIVOT, ANORM, RCOND, WORK, INFO) CHARACTER * 1 UPLO DOUBLE COMPLEX A(*), WORK(*) INTEGER*8 N, INFO INTEGER*8 IPIVOT(*) DOUBLE PRECISION ANORM, RCOND
SUBROUTINE SPCON( UPLO, [N], A, IPIVOT, ANORM, RCOND, [WORK], [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX(8), DIMENSION(:) :: A, WORK INTEGER :: N, INFO INTEGER, DIMENSION(:) :: IPIVOT REAL(8) :: ANORM, RCOND SUBROUTINE SPCON_64( UPLO, [N], A, IPIVOT, ANORM, RCOND, [WORK], * [INFO]) CHARACTER(LEN=1) :: UPLO COMPLEX(8), DIMENSION(:) :: A, WORK INTEGER(8) :: N, INFO INTEGER(8), DIMENSION(:) :: IPIVOT REAL(8) :: ANORM, RCOND
void zspcon(char uplo, int n, doublecomplex *a, int *ipivot, double anorm, double *rcond, int *info);
void zspcon_64(char uplo, long n, doublecomplex *a, long *ipivot, 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 / (ANORM * norm(inv(A))).