Skip to content

Commit c30a253

Browse files
committed
fix typos in documentation of GEJSV
RWORK was mentioned as WORK
1 parent 38f7703 commit c30a253

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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/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

0 commit comments

Comments
 (0)