Update the LAPACK testsuite to match 3.10.1
This commit is contained in:
@@ -29,8 +29,9 @@
|
||||
*>
|
||||
*> SGTT02 computes the residual for the solution to a tridiagonal
|
||||
*> system of equations:
|
||||
*> RESID = norm(B - op(A)*X) / (norm(A) * norm(X) * EPS),
|
||||
*> RESID = norm(B - op(A)*X) / (norm(op(A)) * norm(X) * EPS),
|
||||
*> where EPS is the machine epsilon.
|
||||
*> The norm used is the 1-norm.
|
||||
*> \endverbatim
|
||||
*
|
||||
* Arguments:
|
||||
@@ -41,8 +42,8 @@
|
||||
*> TRANS is CHARACTER
|
||||
*> Specifies the form of the residual.
|
||||
*> = 'N': B - A * X (No transpose)
|
||||
*> = 'T': B - A'* X (Transpose)
|
||||
*> = 'C': B - A'* X (Conjugate transpose = Transpose)
|
||||
*> = 'T': B - A**T * X (Transpose)
|
||||
*> = 'C': B - A**H * X (Conjugate transpose = Transpose)
|
||||
*> \endverbatim
|
||||
*>
|
||||
*> \param[in] N
|
||||
@@ -105,7 +106,7 @@
|
||||
*> \param[out] RESID
|
||||
*> \verbatim
|
||||
*> RESID is REAL
|
||||
*> norm(B - op(A)*X) / (norm(A) * norm(X) * EPS)
|
||||
*> norm(B - op(A)*X) / (norm(op(A)) * norm(X) * EPS)
|
||||
*> \endverbatim
|
||||
*
|
||||
* Authors:
|
||||
@@ -116,18 +117,15 @@
|
||||
*> \author Univ. of Colorado Denver
|
||||
*> \author NAG Ltd.
|
||||
*
|
||||
*> \date December 2016
|
||||
*
|
||||
*> \ingroup single_lin
|
||||
*
|
||||
* =====================================================================
|
||||
SUBROUTINE SGTT02( TRANS, N, NRHS, DL, D, DU, X, LDX, B, LDB,
|
||||
$ RESID )
|
||||
*
|
||||
* -- LAPACK test routine (version 3.7.0) --
|
||||
* -- LAPACK test routine --
|
||||
* -- LAPACK is a software package provided by Univ. of Tennessee, --
|
||||
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
|
||||
* December 2016
|
||||
*
|
||||
* .. Scalar Arguments ..
|
||||
CHARACTER TRANS
|
||||
@@ -169,7 +167,7 @@
|
||||
$ RETURN
|
||||
*
|
||||
* Compute the maximum over the number of right hand sides of
|
||||
* norm(B - op(A)*X) / ( norm(A) * norm(X) * EPS ).
|
||||
* norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
|
||||
*
|
||||
IF( LSAME( TRANS, 'N' ) ) THEN
|
||||
ANORM = SLANGT( '1', N, DL, D, DU )
|
||||
@@ -185,7 +183,7 @@
|
||||
RETURN
|
||||
END IF
|
||||
*
|
||||
* Compute B - op(A)*X.
|
||||
* Compute B - op(A)*X and store in B.
|
||||
*
|
||||
CALL SLAGTM( TRANS, N, NRHS, -ONE, DL, D, DU, X, LDX, ONE, B,
|
||||
$ LDB )
|
||||
|
||||
Reference in New Issue
Block a user