sgecon - estimate the reciprocal of the condition number of a general real matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by SGETRF
SUBROUTINE SGECON( NORM, N, A, LDA, ANORM, RCOND, WORK, WORK2, INFO) CHARACTER * 1 NORM INTEGER N, LDA, INFO INTEGER WORK2(*) REAL ANORM, RCOND REAL A(LDA,*), WORK(*)
SUBROUTINE SGECON_64( NORM, N, A, LDA, ANORM, RCOND, WORK, WORK2, * INFO) CHARACTER * 1 NORM INTEGER*8 N, LDA, INFO INTEGER*8 WORK2(*) REAL ANORM, RCOND REAL A(LDA,*), WORK(*)
SUBROUTINE GECON( NORM, [N], A, [LDA], ANORM, RCOND, [WORK], [WORK2], * [INFO]) CHARACTER(LEN=1) :: NORM INTEGER :: N, LDA, INFO INTEGER, DIMENSION(:) :: WORK2 REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK REAL, DIMENSION(:,:) :: A
SUBROUTINE GECON_64( NORM, [N], A, [LDA], ANORM, RCOND, [WORK], * [WORK2], [INFO]) CHARACTER(LEN=1) :: NORM INTEGER(8) :: N, LDA, INFO INTEGER(8), DIMENSION(:) :: WORK2 REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK REAL, DIMENSION(:,:) :: A
#include <sunperf.h>
void sgecon(char norm, int n, float *a, int lda, float anorm, float *rcond, int *info);
void sgecon_64(char norm, long n, float *a, long lda, float anorm, float *rcond, long *info);
sgecon estimates the reciprocal of the condition number of a general real matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by SGETRF.
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)) ).
= '1' or 'O': 1-norm;
= 'I': Infinity-norm.
dimension(4*N)
dimension(N)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value