1DSYRFS(1)                LAPACK routine (version 3.2)                DSYRFS(1)
2
3
4

NAME

6       DSYRFS - improves the computed solution to a system of linear equations
7       when the coefficient matrix is symmetric indefinite, and provides error
8       bounds and backward error estimates for the solution
9

SYNOPSIS

11       SUBROUTINE DSYRFS( UPLO,  N,  NRHS,  A, LDA, AF, LDAF, IPIV, B, LDB, X,
12                          LDX, FERR, BERR, WORK, IWORK, INFO )
13
14           CHARACTER      UPLO
15
16           INTEGER        INFO, LDA, LDAF, LDB, LDX, N, NRHS
17
18           INTEGER        IPIV( * ), IWORK( * )
19
20           DOUBLE         PRECISION A( LDA, * ), AF( LDAF, * ), B( LDB,  *  ),
21                          BERR( * ), FERR( * ), WORK( * ), X( LDX, * )
22

PURPOSE

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

ARGUMENTS

29       UPLO    (input) CHARACTER*1
30               = 'U':  Upper triangle of A is stored;
31               = 'L':  Lower triangle of A is stored.
32
33       N       (input) INTEGER
34               The order of the matrix A.  N >= 0.
35
36       NRHS    (input) INTEGER
37               The  number of right hand sides, i.e., the number of columns of
38               the matrices B and X.  NRHS >= 0.
39
40       A       (input) DOUBLE PRECISION array, dimension (LDA,N)
41               The symmetric matrix A.  If UPLO  =  'U',  the  leading  N-by-N
42               upper  triangular  part of A contains the upper triangular part
43               of the matrix A, and the strictly lower triangular part of A is
44               not referenced.  If UPLO = 'L', the leading N-by-N lower trian‐
45               gular part of A contains  the  lower  triangular  part  of  the
46               matrix  A,  and  the strictly upper triangular part of A is not
47               referenced.
48
49       LDA     (input) INTEGER
50               The leading dimension of the array A.  LDA >= max(1,N).
51
52       AF      (input) DOUBLE PRECISION array, dimension (LDAF,N)
53               The factored form of the matrix A.  AF contains the block diag‐
54               onal  matrix  D and the multipliers used to obtain the factor U
55               or L from the factorization A = U*D*U**T or  A  =  L*D*L**T  as
56               computed by DSYTRF.
57
58       LDAF    (input) INTEGER
59               The leading dimension of the array AF.  LDAF >= max(1,N).
60
61       IPIV    (input) INTEGER array, dimension (N)
62               Details  of  the  interchanges  and the block structure of D as
63               determined by DSYTRF.
64
65       B       (input) DOUBLE PRECISION array, dimension (LDB,NRHS)
66               The right hand side matrix B.
67
68       LDB     (input) INTEGER
69               The leading dimension of the array B.  LDB >= max(1,N).
70
71       X       (input/output) DOUBLE PRECISION array, dimension (LDX,NRHS)
72               On entry, the solution matrix X, as  computed  by  DSYTRS.   On
73               exit, the improved solution matrix X.
74
75       LDX     (input) INTEGER
76               The leading dimension of the array X.  LDX >= max(1,N).
77
78       FERR    (output) DOUBLE PRECISION array, dimension (NRHS)
79               The estimated forward error bound for each solution vector X(j)
80               (the j-th column of the solution matrix X).  If  XTRUE  is  the
81               true  solution  corresponding  to X(j), FERR(j) is an estimated
82               upper bound for the magnitude of the largest element in (X(j) -
83               XTRUE) divided by the magnitude of the largest element in X(j).
84               The estimate is as reliable as the estimate for RCOND,  and  is
85               almost always a slight overestimate of the true error.
86
87       BERR    (output) DOUBLE PRECISION array, dimension (NRHS)
88               The componentwise relative backward error of each solution vec‐
89               tor X(j) (i.e., the smallest relative change in any element  of
90               A or B that makes X(j) an exact solution).
91
92       WORK    (workspace) DOUBLE PRECISION array, dimension (3*N)
93
94       IWORK   (workspace) INTEGER array, dimension (N)
95
96       INFO    (output) INTEGER
97               = 0:  successful exit
98               < 0:  if INFO = -i, the i-th argument had an illegal value
99

PARAMETERS

101       ITMAX is the maximum number of steps of iterative refinement.
102
103
104
105 LAPACK routine (version 3.2)    November 2008                       DSYRFS(1)
Impressum