NAME

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


SYNOPSIS

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

F95 INTERFACE

  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

C INTERFACE

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


PURPOSE

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


ARGUMENTS