Skip to content

Commit 617e8bc

Browse files
authored
Merge pull request #4043 from martin-frbg/lapack809-811-812
Fix typos in LAPACK comments (Reference-LAPACK PRs 809,811,812)
2 parents 86f4899 + 5fbd5f5 commit 617e8bc

29 files changed

+11260
-34
lines changed

lapack-netlib/SRC/cgejsv.f

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
*> are computed and stored in the arrays U and V, respectively. The diagonal
5353
*> of [SIGMA] is computed and stored in the array SVA.
5454
*> \endverbatim
55-
*>
56-
*> Arguments:
57-
*> ==========
58-
*>
55+
*
56+
* Arguments:
57+
* ==========
58+
*
5959
*> \param[in] JOBA
6060
*> \verbatim
6161
*> JOBA is CHARACTER*1
@@ -151,7 +151,7 @@
151151
*> transposed A if A^* seems to be better with respect to convergence.
152152
*> If the matrix is not square, JOBT is ignored.
153153
*> The decision is based on two values of entropy over the adjoint
154-
*> orbit of A^* * A. See the descriptions of WORK(6) and WORK(7).
154+
*> orbit of A^* * A. See the descriptions of RWORK(6) and RWORK(7).
155155
*> = 'T': transpose if entropy test indicates possibly faster
156156
*> convergence of Jacobi process if A^* is taken as input. If A is
157157
*> replaced with A^*, then the row pivoting is included automatically.
@@ -209,11 +209,11 @@
209209
*> \verbatim
210210
*> SVA is REAL array, dimension (N)
211211
*> On exit,
212-
*> - For WORK(1)/WORK(2) = ONE: The singular values of A. During the
213-
*> computation SVA contains Euclidean column norms of the
212+
*> - For RWORK(1)/RWORK(2) = ONE: The singular values of A. During
213+
*> the computation SVA contains Euclidean column norms of the
214214
*> iterated matrices in the array A.
215-
*> - For WORK(1) .NE. WORK(2): The singular values of A are
216-
*> (WORK(1)/WORK(2)) * SVA(1:N). This factored form is used if
215+
*> - For RWORK(1) .NE. RWORK(2): The singular values of A are
216+
*> (RWORK(1)/RWORK(2)) * SVA(1:N). This factored form is used if
217217
*> sigma_max(A) overflows or if small singular values have been
218218
*> saved from underflow by scaling the input matrix A.
219219
*> - If JOBR='R' then some of the singular values may be returned

lapack-netlib/SRC/claswlq.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
*> \endverbatim
105105
*> \param[in] LWORK
106106
*> \verbatim
107+
*> LWORK is INTEGER
107108
*> The dimension of the array WORK. LWORK >= MB*M.
108109
*> If LWORK = -1, then a workspace query is assumed; the routine
109110
*> only calculates the optimal size of the WORK array, returns

lapack-netlib/SRC/clatsqr.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
*>
107107
*> \param[in] LWORK
108108
*> \verbatim
109+
*> LWORK is INTEGER
109110
*> The dimension of the array WORK. LWORK >= NB*N.
110111
*> If LWORK = -1, then a workspace query is assumed; the routine
111112
*> only calculates the optimal size of the WORK array, returns

lapack-netlib/SRC/ctgevc.f

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
*>
5454
*> S*x = w*P*x, (y**H)*S = w*(y**H)*P,
5555
*>
56-
*> where y**H denotes the conjugate tranpose of y.
56+
*> where y**H denotes the conjugate transpose of y.
5757
*> The eigenvalues are not input to this routine, but are computed
5858
*> directly from the diagonal elements of S and P.
5959
*>
@@ -154,7 +154,7 @@
154154
*> \verbatim
155155
*> VR is COMPLEX array, dimension (LDVR,MM)
156156
*> On entry, if SIDE = 'R' or 'B' and HOWMNY = 'B', VR must
157-
*> contain an N-by-N matrix Q (usually the unitary matrix Z
157+
*> contain an N-by-N matrix Z (usually the unitary matrix Z
158158
*> of right Schur vectors returned by CHGEQZ).
159159
*> On exit, if SIDE = 'R' or 'B', VR contains:
160160
*> if HOWMNY = 'A', the matrix X of right eigenvectors of (S,P);
@@ -259,7 +259,7 @@ SUBROUTINE CTGEVC( SIDE, HOWMNY, SELECT, N, S, LDS, P, LDP, VL,
259259
EXTERNAL LSAME, SLAMCH, CLADIV
260260
* ..
261261
* .. External Subroutines ..
262-
EXTERNAL CGEMV, SLABAD, XERBLA
262+
EXTERNAL CGEMV, XERBLA
263263
* ..
264264
* .. Intrinsic Functions ..
265265
INTRINSIC ABS, AIMAG, CMPLX, CONJG, MAX, MIN, REAL
@@ -367,7 +367,6 @@ SUBROUTINE CTGEVC( SIDE, HOWMNY, SELECT, N, S, LDS, P, LDP, VL,
367367
*
368368
SAFMIN = SLAMCH( 'Safe minimum' )
369369
BIG = ONE / SAFMIN
370-
CALL SLABAD( SAFMIN, BIG )
371370
ULP = SLAMCH( 'Epsilon' )*SLAMCH( 'Base' )
372371
SMALL = SAFMIN*N / ULP
373372
BIG = ONE / SMALL

lapack-netlib/SRC/cuncsd2by1.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,13 @@
212212
*> LRWORK is INTEGER
213213
*> The dimension of the array RWORK.
214214
*>
215-
*> If LRWORK = -1, then a workspace query is assumed; the routine
215+
*> If LRWORK=-1, then a workspace query is assumed; the routine
216216
*> only calculates the optimal size of the WORK and RWORK
217217
*> arrays, returns this value as the first entry of the WORK
218218
*> and RWORK array, respectively, and no error message related
219219
*> to LWORK or LRWORK is issued by XERBLA.
220220
*> \endverbatim
221-
*
221+
*>
222222
*> \param[out] IWORK
223223
*> \verbatim
224224
*> IWORK is INTEGER array, dimension (M-MIN(P,M-P,Q,M-Q))

lapack-netlib/SRC/cungtsqr.f

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
*>
134134
*> \param[in] LWORK
135135
*> \verbatim
136+
*> LWORK is INTEGER
136137
*> The dimension of the array WORK. LWORK >= (M+NB)*N.
137138
*> If LWORK = -1, then a workspace query is assumed.
138139
*> The routine only calculates the optimal size of the WORK
@@ -302,4 +303,4 @@ SUBROUTINE CUNGTSQR( M, N, MB, NB, A, LDA, T, LDT, WORK, LWORK,
302303
*
303304
* End of CUNGTSQR
304305
*
305-
END
306+
END

lapack-netlib/SRC/dlaswlq.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
*> \endverbatim
105105
*> \param[in] LWORK
106106
*> \verbatim
107+
*> LWORK is INTEGER
107108
*> The dimension of the array WORK. LWORK >= MB*M.
108109
*> If LWORK = -1, then a workspace query is assumed; the routine
109110
*> only calculates the optimal size of the WORK array, returns

lapack-netlib/SRC/dlatsqr.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@
106106
*>
107107
*> \param[in] LWORK
108108
*> \verbatim
109+
*> LWORK is INTEGER
109110
*> The dimension of the array WORK. LWORK >= NB*N.
110111
*> If LWORK = -1, then a workspace query is assumed; the routine
111112
*> only calculates the optimal size of the WORK array, returns

lapack-netlib/SRC/dorgtsqr.f

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
*>
134134
*> \param[in] LWORK
135135
*> \verbatim
136+
*> LWORK is INTEGER
136137
*> The dimension of the array WORK. LWORK >= (M+NB)*N.
137138
*> If LWORK = -1, then a workspace query is assumed.
138139
*> The routine only calculates the optimal size of the WORK
@@ -301,4 +302,4 @@ SUBROUTINE DORGTSQR( M, N, MB, NB, A, LDA, T, LDT, WORK, LWORK,
301302
*
302303
* End of DORGTSQR
303304
*
304-
END
305+
END

lapack-netlib/SRC/slaswlq.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
*> \endverbatim
105105
*> \param[in] LWORK
106106
*> \verbatim
107+
*> LWORK is INTEGER
107108
*> The dimension of the array WORK. LWORK >= MB * M.
108109
*> If LWORK = -1, then a workspace query is assumed; the routine
109110
*> only calculates the optimal size of the WORK array, returns

0 commit comments

Comments
 (0)