cgtcon - estimate the reciprocal of the condition number of a complex tridiagonal matrix A using the LU factorization as computed by CGTTRF
SUBROUTINE CGTCON( NORM, N, LOW, DIAG, UP1, UP2, IPIVOT, ANORM, * RCOND, WORK, INFO) CHARACTER * 1 NORM COMPLEX LOW(*), DIAG(*), UP1(*), UP2(*), WORK(*) INTEGER N, INFO INTEGER IPIVOT(*) REAL ANORM, RCOND
SUBROUTINE CGTCON_64( NORM, N, LOW, DIAG, UP1, UP2, IPIVOT, ANORM, * RCOND, WORK, INFO) CHARACTER * 1 NORM COMPLEX LOW(*), DIAG(*), UP1(*), UP2(*), WORK(*) INTEGER*8 N, INFO INTEGER*8 IPIVOT(*) REAL ANORM, RCOND
SUBROUTINE GTCON( NORM, [N], LOW, DIAG, UP1, UP2, IPIVOT, ANORM, * RCOND, [WORK], [INFO]) CHARACTER(LEN=1) :: NORM COMPLEX, DIMENSION(:) :: LOW, DIAG, UP1, UP2, WORK INTEGER :: N, INFO INTEGER, DIMENSION(:) :: IPIVOT REAL :: ANORM, RCOND
SUBROUTINE GTCON_64( NORM, [N], LOW, DIAG, UP1, UP2, IPIVOT, ANORM, * RCOND, [WORK], [INFO]) CHARACTER(LEN=1) :: NORM COMPLEX, DIMENSION(:) :: LOW, DIAG, UP1, UP2, WORK INTEGER(8) :: N, INFO INTEGER(8), DIMENSION(:) :: IPIVOT REAL :: ANORM, RCOND
#include <sunperf.h>
void cgtcon(char norm, int n, complex *low, complex *diag, complex *up1, complex *up2, int *ipivot, float anorm, float *rcond, int *info);
void cgtcon_64(char norm, long n, complex *low, complex *diag, complex *up1, complex *up2, long *ipivot, float anorm, float *rcond, long *info);
cgtcon estimates the reciprocal of the condition number of a complex tridiagonal matrix A using the LU factorization as computed by CGTTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
= '1' or 'O': 1-norm;
= 'I': Infinity-norm.
IPIVOT(i)
will always be either
i or i+1; IPIVOT(i)
= i indicates a row interchange was not
required.
inv(A)
computed in this routine.
dimension(2*N)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value