NAME

dsyrfs - improve the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite, and provides error bounds and backward error estimates for the solution


SYNOPSIS

  SUBROUTINE DSYRFS( UPLO, N, NRHS, A, LDA, AF, LDAF, IPIVOT, B, LDB, 
 *      X, LDX, FERR, BERR, WORK, WORK2, INFO)
  CHARACTER * 1 UPLO
  INTEGER N, NRHS, LDA, LDAF, LDB, LDX, INFO
  INTEGER IPIVOT(*), WORK2(*)
  DOUBLE PRECISION A(LDA,*), AF(LDAF,*), B(LDB,*), X(LDX,*), FERR(*), BERR(*), WORK(*)
  SUBROUTINE DSYRFS_64( UPLO, N, NRHS, A, LDA, AF, LDAF, IPIVOT, B, 
 *      LDB, X, LDX, FERR, BERR, WORK, WORK2, INFO)
  CHARACTER * 1 UPLO
  INTEGER*8 N, NRHS, LDA, LDAF, LDB, LDX, INFO
  INTEGER*8 IPIVOT(*), WORK2(*)
  DOUBLE PRECISION A(LDA,*), AF(LDAF,*), B(LDB,*), X(LDX,*), FERR(*), BERR(*), WORK(*)

F95 INTERFACE

  SUBROUTINE SYRFS( UPLO, [N], [NRHS], A, [LDA], AF, [LDAF], IPIVOT, 
 *       B, [LDB], X, [LDX], FERR, BERR, [WORK], [WORK2], [INFO])
  CHARACTER(LEN=1) :: UPLO
  INTEGER :: N, NRHS, LDA, LDAF, LDB, LDX, INFO
  INTEGER, DIMENSION(:) :: IPIVOT, WORK2
  REAL(8), DIMENSION(:) :: FERR, BERR, WORK
  REAL(8), DIMENSION(:,:) :: A, AF, B, X
  SUBROUTINE SYRFS_64( UPLO, [N], [NRHS], A, [LDA], AF, [LDAF], 
 *       IPIVOT, B, [LDB], X, [LDX], FERR, BERR, [WORK], [WORK2], [INFO])
  CHARACTER(LEN=1) :: UPLO
  INTEGER(8) :: N, NRHS, LDA, LDAF, LDB, LDX, INFO
  INTEGER(8), DIMENSION(:) :: IPIVOT, WORK2
  REAL(8), DIMENSION(:) :: FERR, BERR, WORK
  REAL(8), DIMENSION(:,:) :: A, AF, B, X

C INTERFACE

#include <sunperf.h>

void dsyrfs(char uplo, int n, int nrhs, double *a, int lda, double *af, int ldaf, int *ipivot, double *b, int ldb, double *x, int ldx, double *ferr, double *berr, int *info);

void dsyrfs_64(char uplo, long n, long nrhs, double *a, long lda, double *af, long ldaf, long *ipivot, double *b, long ldb, double *x, long ldx, double *ferr, double *berr, long *info);


PURPOSE

dsyrfs improves the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite, and provides error bounds and backward error estimates for the solution.


ARGUMENTS