spbcon - estimate the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite band matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPBTRF
SUBROUTINE SPBCON( UPLO, N, NDIAG, A, LDA, ANORM, RCOND, WORK, * WORK2, INFO) CHARACTER * 1 UPLO INTEGER N, NDIAG, LDA, INFO INTEGER WORK2(*) REAL ANORM, RCOND REAL A(LDA,*), WORK(*)
SUBROUTINE SPBCON_64( UPLO, N, NDIAG, A, LDA, ANORM, RCOND, WORK, * WORK2, INFO) CHARACTER * 1 UPLO INTEGER*8 N, NDIAG, LDA, INFO INTEGER*8 WORK2(*) REAL ANORM, RCOND REAL A(LDA,*), WORK(*)
SUBROUTINE PBCON( UPLO, [N], NDIAG, A, [LDA], ANORM, RCOND, [WORK], * [WORK2], [INFO]) CHARACTER(LEN=1) :: UPLO INTEGER :: N, NDIAG, LDA, INFO INTEGER, DIMENSION(:) :: WORK2 REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK REAL, DIMENSION(:,:) :: A
SUBROUTINE PBCON_64( UPLO, [N], NDIAG, A, [LDA], ANORM, RCOND, [WORK], * [WORK2], [INFO]) CHARACTER(LEN=1) :: UPLO INTEGER(8) :: N, NDIAG, LDA, INFO INTEGER(8), DIMENSION(:) :: WORK2 REAL :: ANORM, RCOND REAL, DIMENSION(:) :: WORK REAL, DIMENSION(:,:) :: A
#include <sunperf.h>
void spbcon(char uplo, int n, int ndiag, float *a, int lda, float anorm, float *rcond, int *info);
void spbcon_64(char uplo, long n, long ndiag, float *a, long lda, float anorm, float *rcond, long *info);
spbcon estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite band matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPBTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
= 'U': Upper triangular factor stored in A;
= 'L': Lower triangular factor stored in A.
A(kd+1+i-j,j)
= U(i,j)
for max(1,j-kd)
< =i < =j;
if UPLO ='L', A(1+i-j,j)
= L(i,j)
for j < =i < =min(n,j+kd).
inv(A)
computed in this routine.
dimension(3*N)
dimension(N)
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value