NAME

zgecon - estimate the reciprocal of the condition number of a general complex matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by CGETRF


SYNOPSIS

  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(*)

F95 INTERFACE

  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

C INTERFACE

#include <sunperf.h>

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);


PURPOSE

zgecon estimates the reciprocal of the condition number of a general complex matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by CGETRF.

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)) ).


ARGUMENTS