Skip to content

Commit 0277cd9

Browse files
committed
comments fixed: expression for residual in xTBT02
1 parent 1d98fec commit 0277cd9

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

TESTING/LIN/ctbt02.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
*> \verbatim
143143
*> RESID is REAL
144144
*> The maximum over the number of right hand sides of
145-
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
145+
*> norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
146146
*> \endverbatim
147147
*
148148
* Authors:
@@ -221,7 +221,7 @@ SUBROUTINE CTBT02( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, X,
221221
END IF
222222
*
223223
* Compute the maximum over the number of right hand sides of
224-
* norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
224+
* norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
225225
*
226226
RESID = ZERO
227227
DO 10 J = 1, NRHS

TESTING/LIN/dtbt02.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
*> \verbatim
136136
*> RESID is DOUBLE PRECISION
137137
*> The maximum over the number of right hand sides of
138-
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
138+
*> norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
139139
*> \endverbatim
140140
*
141141
* Authors:
@@ -213,7 +213,7 @@ SUBROUTINE DTBT02( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, X,
213213
END IF
214214
*
215215
* Compute the maximum over the number of right hand sides of
216-
* norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
216+
* norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
217217
*
218218
RESID = ZERO
219219
DO 10 J = 1, NRHS

TESTING/LIN/stbt02.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
*> \verbatim
135135
*> RESID is REAL
136136
*> The maximum over the number of right hand sides of
137-
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
137+
*> norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
138138
*> \endverbatim
139139
*
140140
* Authors:
@@ -212,7 +212,7 @@ SUBROUTINE STBT02( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, X,
212212
END IF
213213
*
214214
* Compute the maximum over the number of right hand sides of
215-
* norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
215+
* norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
216216
*
217217
RESID = ZERO
218218
DO 10 J = 1, NRHS

TESTING/LIN/ztbt02.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
*> \verbatim
143143
*> RESID is DOUBLE PRECISION
144144
*> The maximum over the number of right hand sides of
145-
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
145+
*> norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
146146
*> \endverbatim
147147
*
148148
* Authors:
@@ -221,7 +221,7 @@ SUBROUTINE ZTBT02( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, X,
221221
END IF
222222
*
223223
* Compute the maximum over the number of right hand sides of
224-
* norm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
224+
* norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
225225
*
226226
RESID = ZERO
227227
DO 10 J = 1, NRHS

0 commit comments

Comments
 (0)