Skip to content

Commit 8262b4a

Browse files
committed
fix comments: expression for residual
1 parent f42f512 commit 8262b4a

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

TESTING/LIN/ctbt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*> triangular system of linear equations op(A)*X = B, when A is a
3333
*> triangular band matrix. The test ratio is the maximum over the
3434
*> number of right hand sides of
35-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
35+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3636
*> where op(A) = A, A**T, or A**H, and EPS is the machine epsilon.
3737
*> \endverbatim
3838
*

TESTING/LIN/ctpt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*> triangular system of linear equations op(A)*X = B, when the
3232
*> triangular matrix A is stored in packed format. The test ratio is
3333
*> the maximum over the number of right hand sides of
34-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
34+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3535
*> where op(A) = A, A**T, or A**H, and EPS is the machine epsilon.
3636
*> \endverbatim
3737
*

TESTING/LIN/ctrt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*> triangular system of linear equations op(A)*X = B, where A is a
3333
*> triangular matrix. The test ratio is the maximum over the number of
3434
*> right hand sides of
35-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
35+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3636
*> where op(A) = A, A**T, or A**H, and EPS is the machine epsilon.
3737
*> \endverbatim
3838
*

TESTING/LIN/dtbt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*> triangular system of linear equations op(A)*X = B, when A is a
3232
*> triangular band matrix. The test ratio is the maximum over the
3333
*> number of right hand sides of
34-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
34+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3535
*> where op(A) = A, A**T, or A**H and EPS is the machine epsilon.
3636
*> The norm used is the 1-norm.
3737
*> \endverbatim

TESTING/LIN/dtpt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*> triangular system of linear equations op(A)*X = B, when the
3131
*> triangular matrix A is stored in packed format. The test ratio is
3232
*> the maximum over the number of right hand sides of
33-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
33+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3434
*> where op(A) = A or A**T, and EPS is the machine epsilon.
3535
*> The norm used is the 1-norm.
3636
*> \endverbatim

TESTING/LIN/dtrt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*> triangular system of linear equations op(A)*X = B, where A is a
3232
*> triangular matrix. The test ratio is the maximum over the number of
3333
*> right hand sides of
34-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
34+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3535
*> where op(A) = A or A**T, and EPS is the machine epsilon.
3636
*> The norm used is the 1-norm.
3737
*> \endverbatim

TESTING/LIN/stbt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*> triangular system of linear equations op(A)*X = B, when A is a
3232
*> triangular band matrix. The test ratio is the maximum over the
3333
*> number of right hand sides of
34-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
34+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3535
*> where op(A) = A or A**T, and EPS is the machine epsilon.
3636
*> The norm used is the 1-norm.
3737
*> \endverbatim

TESTING/LIN/stpt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*> triangular system of linear equations op(A)*X = B, when the
3131
*> triangular matrix A is stored in packed format. The test ratio is
3232
*> the maximum over the number of right hand sides of
33-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
33+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3434
*> where op(A) = A or A**T, and EPS is the machine epsilon.
3535
*> The norm used is the 1-norm.
3636
*> \endverbatim

TESTING/LIN/strt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*> triangular system of linear equations op(A)*X = B, where A is a
3232
*> triangular matrix. The test ratio is the maximum over the number of
3333
*> right hand sides of
34-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
34+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3535
*> where op(A) = A or A**T, and EPS is the machine epsilon.
3636
*> The norm used is the 1-norm.
3737
*> \endverbatim

TESTING/LIN/ztbt02.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*> triangular system of linear equations op(A)*X = B, when A is a
3333
*> triangular band matrix. The test ratio is the maximum over the
3434
*> number of right hand sides of
35-
*> norm(b - op(A)*x) / ( norm(op(A)) * norm(x) * EPS ),
35+
*> norm(op(A)*x - b) / ( norm(op(A)) * norm(X) * EPS ),
3636
*> where op(A) = A, A**T, or A**H, and EPS is the machine epsilon.
3737
*> \endverbatim
3838
*

0 commit comments

Comments
 (0)