Skip to content

Commit 76bcd0c

Browse files
committed
comments unified: remove spaces around expr in norm( expr )
1 parent 457afcf commit 76bcd0c

16 files changed

Lines changed: 24 additions & 24 deletions

File tree

TESTING/EIG/cbdt01.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*> matrices and B is bidiagonal.
3434
*>
3535
*> The test ratio to test the reduction is
36-
*> RESID = norm( A - Q * B * P**H ) / ( n * norm(A) * EPS )
36+
*> RESID = norm(A - Q * B * P**H) / ( n * norm(A) * EPS )
3737
*> where EPS is the machine precision.
3838
*> \endverbatim
3939
*

TESTING/EIG/cbdt02.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*> CBDT02 tests the change of basis C = U**H * B by computing the
3131
*> residual
3232
*>
33-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
33+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
3434
*>
3535
*> where B and C are M by N matrices, U is an M by M orthogonal matrix,
3636
*> and EPS is the machine precision.
@@ -101,7 +101,7 @@
101101
*> \param[out] RESID
102102
*> \verbatim
103103
*> RESID is REAL
104-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
104+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
105105
*> \endverbatim
106106
*
107107
* Authors:
@@ -162,7 +162,7 @@ SUBROUTINE CBDT02( M, N, B, LDB, C, LDC, U, LDU, WORK, RWORK,
162162
REALMN = REAL( MAX( M, N ) )
163163
EPS = SLAMCH( 'Precision' )
164164
*
165-
* Compute norm( B - U * C )
165+
* Compute norm(B - U * C)
166166
*
167167
DO 10 J = 1, N
168168
CALL CCOPY( M, B( 1, J ), 1, WORK, 1 )

TESTING/EIG/dbdt01.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*> matrices and B is bidiagonal.
3333
*>
3434
*> The test ratio to test the reduction is
35-
*> RESID = norm( A - Q * B * P**T ) / ( n * norm(A) * EPS )
35+
*> RESID = norm(A - Q * B * P**T) / ( n * norm(A) * EPS )
3636
*> where EPS is the machine precision.
3737
*> \endverbatim
3838
*

TESTING/EIG/dbdt02.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*> DBDT02 tests the change of basis C = U**H * B by computing the
2929
*> residual
3030
*>
31-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
31+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
3232
*>
3333
*> where B and C are M by N matrices, U is an M by M orthogonal matrix,
3434
*> and EPS is the machine precision.
@@ -94,7 +94,7 @@
9494
*> \param[out] RESID
9595
*> \verbatim
9696
*> RESID is DOUBLE PRECISION
97-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
97+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
9898
*> \endverbatim
9999
*
100100
* Authors:
@@ -153,7 +153,7 @@ SUBROUTINE DBDT02( M, N, B, LDB, C, LDC, U, LDU, WORK, RESID )
153153
REALMN = DBLE( MAX( M, N ) )
154154
EPS = DLAMCH( 'Precision' )
155155
*
156-
* Compute norm( B - U * C )
156+
* Compute norm(B - U * C)
157157
*
158158
DO 10 J = 1, N
159159
CALL DCOPY( M, B( 1, J ), 1, WORK, 1 )

TESTING/EIG/sbdt01.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*> matrices and B is bidiagonal.
3333
*>
3434
*> The test ratio to test the reduction is
35-
*> RESID = norm( A - Q * B * P**T ) / ( n * norm(A) * EPS )
35+
*> RESID = norm(A - Q * B * P**T) / ( n * norm(A) * EPS )
3636
*> where EPS is the machine precision.
3737
*> \endverbatim
3838
*

TESTING/EIG/sbdt02.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
*> SBDT02 tests the change of basis C = U**H * B by computing the
2929
*> residual
3030
*>
31-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
31+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
3232
*>
3333
*> where B and C are M by N matrices, U is an M by M orthogonal matrix,
3434
*> and EPS is the machine precision.
@@ -94,7 +94,7 @@
9494
*> \param[out] RESID
9595
*> \verbatim
9696
*> RESID is REAL
97-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
97+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
9898
*> \endverbatim
9999
*
100100
* Authors:
@@ -153,7 +153,7 @@ SUBROUTINE SBDT02( M, N, B, LDB, C, LDC, U, LDU, WORK, RESID )
153153
REALMN = REAL( MAX( M, N ) )
154154
EPS = SLAMCH( 'Precision' )
155155
*
156-
* Compute norm( B - U * C )
156+
* Compute norm(B - U * C)
157157
*
158158
DO 10 J = 1, N
159159
CALL SCOPY( M, B( 1, J ), 1, WORK, 1 )

TESTING/EIG/zbdt01.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*> matrices and B is bidiagonal.
3434
*>
3535
*> The test ratio to test the reduction is
36-
*> RESID = norm( A - Q * B * P**H ) / ( n * norm(A) * EPS )
36+
*> RESID = norm(A - Q * B * P**H) / ( n * norm(A) * EPS )
3737
*> where EPS is the machine precision.
3838
*> \endverbatim
3939
*

TESTING/EIG/zbdt02.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*> ZBDT02 tests the change of basis C = U**H * B by computing the
3131
*> residual
3232
*>
33-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
33+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
3434
*>
3535
*> where B and C are M by N matrices, U is an M by M orthogonal matrix,
3636
*> and EPS is the machine precision.
@@ -101,7 +101,7 @@
101101
*> \param[out] RESID
102102
*> \verbatim
103103
*> RESID is DOUBLE PRECISION
104-
*> RESID = norm( B - U * C ) / ( max(m,n) * norm(B) * EPS ),
104+
*> RESID = norm(B - U * C) / ( max(m,n) * norm(B) * EPS ),
105105
*> \endverbatim
106106
*
107107
* Authors:
@@ -162,7 +162,7 @@ SUBROUTINE ZBDT02( M, N, B, LDB, C, LDC, U, LDU, WORK, RWORK,
162162
REALMN = DBLE( MAX( M, N ) )
163163
EPS = DLAMCH( 'Precision' )
164164
*
165-
* Compute norm( B - U * C )
165+
* Compute norm(B - U * C)
166166
*
167167
DO 10 J = 1, N
168168
CALL ZCOPY( M, B( 1, J ), 1, WORK, 1 )

TESTING/LIN/cgbt01.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ SUBROUTINE CGBT01( M, N, KL, KU, A, LDA, AFAC, LDAFAC, IPIV, WORK,
226226
END IF
227227
40 CONTINUE
228228
*
229-
* Compute norm( L*U - A ) / ( N * norm(A) * EPS )
229+
* Compute norm(L*U - A) / ( N * norm(A) * EPS )
230230
*
231231
IF( ANORM.LE.ZERO ) THEN
232232
IF( RESID.NE.ZERO )

TESTING/LIN/cpot01.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ SUBROUTINE CPOT01( UPLO, N, A, LDA, AFAC, LDAFAC, RWORK, RESID )
224224
70 CONTINUE
225225
END IF
226226
*
227-
* Compute norm( L*U - A ) / ( N * norm(A) * EPS )
227+
* Compute norm(L*U - A) / ( N * norm(A) * EPS )
228228
*
229229
RESID = CLANHE( '1', UPLO, N, AFAC, LDAFAC, RWORK )
230230
*

0 commit comments

Comments
 (0)