Skip to content

Commit 31a3668

Browse files
authored
Merge pull request #809 from jip/fix
Fix typos and errors in comments
2 parents 38f7703 + 1f0d961 commit 31a3668

File tree

11 files changed

+19
-19
lines changed

11 files changed

+19
-19
lines changed

SRC/cgbsvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
*>
323323
*> \param[out] RWORK
324324
*> \verbatim
325-
*> RWORK is REAL array, dimension (N)
325+
*> RWORK is REAL array, dimension (MAX(1,N))
326326
*> On exit, RWORK(1) contains the reciprocal pivot growth
327327
*> factor norm(A)/norm(U). The "max absolute element" norm is
328328
*> used. If RWORK(1) is much less than 1, then the stability

SRC/cgejsv.f

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

SRC/cgesvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
*>
303303
*> \param[out] RWORK
304304
*> \verbatim
305-
*> RWORK is REAL array, dimension (2*N)
305+
*> RWORK is REAL array, dimension (MAX(1,2*N))
306306
*> On exit, RWORK(1) contains the reciprocal pivot growth
307307
*> factor norm(A)/norm(U). The "max absolute element" norm is
308308
*> used. If RWORK(1) is much less than 1, then the stability

SRC/dgbsvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
*>
317317
*> \param[out] WORK
318318
*> \verbatim
319-
*> WORK is DOUBLE PRECISION array, dimension (3*N)
319+
*> WORK is DOUBLE PRECISION array, dimension (MAX(1,3*N))
320320
*> On exit, WORK(1) contains the reciprocal pivot growth
321321
*> factor norm(A)/norm(U). The "max absolute element" norm is
322322
*> used. If WORK(1) is much less than 1, then the stability

SRC/dgejsv.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@
362362
*>
363363
*> \param[out] IWORK
364364
*> \verbatim
365-
*> IWORK is INTEGER array, dimension (M+3*N).
365+
*> IWORK is INTEGER array, dimension (MAX(3,M+3*N)).
366366
*> On exit,
367367
*> IWORK(1) = the numerical rank determined after the initial
368368
*> QR factorization with pivoting. See the descriptions

SRC/dgesvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
*>
297297
*> \param[out] WORK
298298
*> \verbatim
299-
*> WORK is DOUBLE PRECISION array, dimension (4*N)
299+
*> WORK is DOUBLE PRECISION array, dimension (MAX(1,4*N))
300300
*> On exit, WORK(1) contains the reciprocal pivot growth
301301
*> factor norm(A)/norm(U). The "max absolute element" norm is
302302
*> used. If WORK(1) is much less than 1, then the stability

SRC/sgbsvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316
*>
317317
*> \param[out] WORK
318318
*> \verbatim
319-
*> WORK is REAL array, dimension (3*N)
319+
*> WORK is REAL array, dimension (MAX(1,3*N))
320320
*> On exit, WORK(1) contains the reciprocal pivot growth
321321
*> factor norm(A)/norm(U). The "max absolute element" norm is
322322
*> used. If WORK(1) is much less than 1, then the stability

SRC/sgesvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
*>
297297
*> \param[out] WORK
298298
*> \verbatim
299-
*> WORK is REAL array, dimension (4*N)
299+
*> WORK is REAL array, dimension (MAX(1,4*N))
300300
*> On exit, WORK(1) contains the reciprocal pivot growth
301301
*> factor norm(A)/norm(U). The "max absolute element" norm is
302302
*> used. If WORK(1) is much less than 1, then the stability

SRC/zgbsvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
*>
323323
*> \param[out] RWORK
324324
*> \verbatim
325-
*> RWORK is DOUBLE PRECISION array, dimension (N)
325+
*> RWORK is DOUBLE PRECISION array, dimension (MAX(1,N))
326326
*> On exit, RWORK(1) contains the reciprocal pivot growth
327327
*> factor norm(A)/norm(U). The "max absolute element" norm is
328328
*> used. If RWORK(1) is much less than 1, then the stability

SRC/zgejsv.f

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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 DOUBLE PRECISION 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

SRC/zgesvx.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302
*>
303303
*> \param[out] RWORK
304304
*> \verbatim
305-
*> RWORK is DOUBLE PRECISION array, dimension (2*N)
305+
*> RWORK is DOUBLE PRECISION array, dimension (MAX(1,2*N))
306306
*> On exit, RWORK(1) contains the reciprocal pivot growth
307307
*> factor norm(A)/norm(U). The "max absolute element" norm is
308308
*> used. If RWORK(1) is much less than 1, then the stability

0 commit comments

Comments
 (0)