Skip to content

Commit 269c3f1

Browse files
author
scr2016
committed
renamed SLAORHR_GETRFNP into SLAORHR_COL_GETRFNP, and SLAORHR_GETRFNP2 into SLAORHR_COL_GETRFNP2
1 parent 3730c98 commit 269c3f1

File tree

8 files changed

+82
-86
lines changed

8 files changed

+82
-86
lines changed

SRC/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ set(SLASRC
148148
sgetsls.f sgeqr.f slatsqr.f slamtsqr.f sgemqr.f
149149
sgelq.f slaswlq.f slamswlq.f sgemlq.f
150150
stplqt.f stplqt2.f stpmlqt.f
151-
sorhr_col.f slaorhr_getrfnp.f slaorhr_getrfnp2.f
151+
sorhr_col.f slaorhr_col_getrfnp.f slaorhr_col_getrfnp2.f
152152
ssytrd_2stage.f ssytrd_sy2sb.f ssytrd_sb2st.F ssb2st_kernels.f
153153
ssyevd_2stage.f ssyev_2stage.f ssyevx_2stage.f ssyevr_2stage.f
154154
ssbev_2stage.f ssbevx_2stage.f ssbevd_2stage.f ssygv_2stage.f

SRC/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ SLASRC = \
176176
sgetsls.o sgeqr.o slatsqr.o slamtsqr.o sgemqr.o \
177177
sgelq.o slaswlq.o slamswlq.o sgemlq.o \
178178
stplqt.o stplqt2.o stpmlqt.o \
179-
sorhr_col.o slaorhr_getrfnp.o slaorhr_getrfnp2.o \
179+
sorhr_col.o slaorhr_col_getrfnp.o slaorhr_col_getrfnp2.o \
180180
ssytrd_2stage.o ssytrd_sy2sb.o ssytrd_sb2st.o ssb2st_kernels.o \
181181
ssyevd_2stage.o ssyev_2stage.o ssyevx_2stage.o ssyevr_2stage.o \
182182
ssbev_2stage.o ssbevx_2stage.o ssbevd_2stage.o ssygv_2stage.o \

SRC/slaorhr_getrfnp.f renamed to SRC/slaorhr_col_getrfnp.f

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
*> \brief \b SLAORHR_GETRFNP
1+
*> \brief \b SLAORHR_COL_GETRFNP
22
*
33
* =========== DOCUMENTATION ===========
44
*
55
* Online html documentation available at
66
* http://www.netlib.org/lapack/explore-html/
77
*
88
*> \htmlonly
9-
*> Download SLAORHR_GETRFNP + dependencies
10-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slaorhr_getrfnp.f">
9+
*> Download SLAORHR_COL_GETRFNP + dependencies
10+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slaorhr_col_getrfnp.f">
1111
*> [TGZ]</a>
12-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/slaorhr_getrfnp.f">
12+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/slaorhr_col_getrfnp.f">
1313
*> [ZIP]</a>
14-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/slaorhr_getrfnp.f">
14+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/slaorhr_col_getrfnp.f">
1515
*> [TXT]</a>
1616
*> \endhtmlonly
1717
*
1818
* Definition:
1919
* ===========
2020
*
21-
* SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
21+
* SUBROUTINE SLAORHR_COL_GETRFNP( M, N, A, LDA, D, INFO )
2222
*
2323
* .. Scalar Arguments ..
2424
* INTEGER INFO, LDA, M, N
@@ -33,8 +33,8 @@
3333
*>
3434
*> \verbatim
3535
*>
36-
*> SLAORHR_GETRFNP computes the modified LU factorization without
37-
*> pivoting of a general M-by-N matrix A. The factorization has
36+
*> SLAORHR_COL_GETRFNP computes the modified LU factorization without
37+
*> pivoting of a real general M-by-N matrix A. The factorization has
3838
*> the form:
3939
*>
4040
*> A - S = L * U,
@@ -48,27 +48,27 @@
4848
*> at least one in absolute value (so that division-by-zero not
4949
*> not possible during the division by the diagonal element);
5050
*>
51-
*> L is a m-by-n lower triangular matrix with unit diagonal elements
52-
*> (lower trapezoidal if m > n);
51+
*> L is a M-by-N lower triangular matrix with unit diagonal elements
52+
*> (lower trapezoidal if M > N);
5353
*>
54-
*> and U is a m-by-n upper triangular matrix
55-
*> (upper trapezoidal if m < n).
54+
*> and U is a M-by-N upper triangular matrix
55+
*> (upper trapezoidal if M < N).
5656
*>
5757
*> This routine is an auxiliary routine used in the Householder
58-
*> reconstruction routine SORHR. In SORHR, this routine is applied
59-
*> to an orthonormal M-by-N matrix A, where each element is bounded
60-
*> by one in absolute value. With the choice of the matrix S above,
61-
*> one can show that the diagonal element at each step of Gaussian
62-
*> elimination is the largest (in absolute value) in the column
63-
*> on or below the diagonal, so that no pivoting is required for
64-
*> numerical stability [1].
58+
*> reconstruction routine SORHR_COL. In SORHR_COL, this routine is
59+
*> applied to an M-by-N matrix A with orthonormal columns, where each
60+
*> element is bounded by one in absolute value. With the choice of
61+
*> the matrix S above, one can show that the diagonal element at each
62+
*> step of Gaussian elimination is the largest (in absolute value) in
63+
*> the column on or below the diagonal, so that no pivoting is required
64+
*> for numerical stability [1].
6565
*>
6666
*> For more details on the Householder reconstruction algorithm,
6767
*> including the modified LU factorization, see [1].
6868
*>
6969
*> This is the blocked right-looking version of the algorithm,
7070
*> calling Level 3 BLAS to update the submatrix. To factorize a block,
71-
*> this routine calls the recursive routine SLAORHR_GETRFNP2.
71+
*> this routine calls the recursive routine SLAORHR_COL_GETRFNP2.
7272
*>
7373
*> [1] "Reconstructing Householder vectors from tall-skinny QR",
7474
*> G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen,
@@ -128,7 +128,7 @@
128128
*> \author Univ. of Colorado Denver
129129
*> \author NAG Ltd.
130130
*
131-
*> \date June 2019
131+
*> \date November 2019
132132
*
133133
*> \ingroup realGEcomputational
134134
*
@@ -137,20 +137,20 @@
137137
*>
138138
*> \verbatim
139139
*>
140-
*> June 2019, Igor Kozachenko,
141-
*> Computer Science Division,
142-
*> University of California, Berkeley
140+
*> November 2019, Igor Kozachenko,
141+
*> Computer Science Division,
142+
*> University of California, Berkeley
143143
*>
144144
*> \endverbatim
145145
*
146146
* =====================================================================
147-
SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
147+
SUBROUTINE SLAORHR_COL_GETRFNP( M, N, A, LDA, D, INFO )
148148
IMPLICIT NONE
149149
*
150150
* -- LAPACK computational routine (version 3.9.0) --
151151
* -- LAPACK is a software package provided by Univ. of Tennessee, --
152152
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
153-
* June 2019
153+
* November 2019
154154
*
155155
* .. Scalar Arguments ..
156156
INTEGER INFO, LDA, M, N
@@ -169,7 +169,7 @@ SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
169169
INTEGER IINFO, J, JB, NB
170170
* ..
171171
* .. External Subroutines ..
172-
EXTERNAL SGEMM, SLAORHR_GETRFNP2, STRSM, XERBLA
172+
EXTERNAL SGEMM, SLAORHR_COL_GETRFNP2, STRSM, XERBLA
173173
* ..
174174
* .. External Functions ..
175175
INTEGER ILAENV
@@ -191,7 +191,7 @@ SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
191191
INFO = -4
192192
END IF
193193
IF( INFO.NE.0 ) THEN
194-
CALL XERBLA( 'SLAORHR_GETRFNP', -INFO )
194+
CALL XERBLA( 'SLAORHR_COL_GETRFNP', -INFO )
195195
RETURN
196196
END IF
197197
*
@@ -203,13 +203,13 @@ SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
203203
* Determine the block size for this environment.
204204
*
205205

206-
NB = ILAENV( 1, 'SLAORHR_GETRFNP', ' ', M, N, -1, -1 )
206+
NB = ILAENV( 1, 'SLAORHR_COL_GETRFNP', ' ', M, N, -1, -1 )
207207

208208
IF( NB.LE.1 .OR. NB.GE.MIN( M, N ) ) THEN
209209
*
210210
* Use unblocked code.
211211
*
212-
CALL SLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
212+
CALL SLAORHR_COL_GETRFNP2( M, N, A, LDA, D, INFO )
213213
ELSE
214214
*
215215
* Use blocked code.
@@ -219,8 +219,8 @@ SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
219219
*
220220
* Factor diagonal and subdiagonal blocks.
221221
*
222-
CALL SLAORHR_GETRFNP2( M-J+1, JB, A( J, J ), LDA, D( J ),
223-
$ IINFO )
222+
CALL SLAORHR_COL_GETRFNP2( M-J+1, JB, A( J, J ), LDA,
223+
$ D( J ), IINFO )
224224
*
225225
IF( J+JB.LE.N ) THEN
226226
*
@@ -243,6 +243,6 @@ SUBROUTINE SLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
243243
END IF
244244
RETURN
245245
*
246-
* End of SLAORHR_GETRFNP
246+
* End of SLAORHR_COL_GETRFNP
247247
*
248248
END

SRC/slaorhr_getrfnp2.f renamed to SRC/slaorhr_col_getrfnp2.f

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*> \brief \b SLAORHR_GETRFNP2
1+
*> \brief \b SLAORHR_COL_GETRFNP2
22
*
33
* =========== DOCUMENTATION ===========
44
*
@@ -7,18 +7,18 @@
77
*
88
*> \htmlonly
99
*> Download DLAORHR_GETRF2NP + dependencies
10-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slaorhr_getrfnp2.f">
10+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/slaorhr_col_getrfnp2.f">
1111
*> [TGZ]</a>
12-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/slaorhr_getrfnp2.f">
12+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/slaorhr_col_getrfnp2.f">
1313
*> [ZIP]</a>
14-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/slaorhr_getrfnp2.f">
14+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/slaorhr_col_getrfnp2.f">
1515
*> [TXT]</a>
1616
*> \endhtmlonly
1717
*
1818
* Definition:
1919
* ===========
2020
*
21-
* RECURSIVE SUBROUTINE SLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
21+
* RECURSIVE SUBROUTINE SLAORHR_COL_GETRFNP2( M, N, A, LDA, D, INFO )
2222
*
2323
* .. Scalar Arguments ..
2424
* INTEGER INFO, LDA, M, N
@@ -33,8 +33,8 @@
3333
*>
3434
*> \verbatim
3535
*>
36-
*> SLAORHR_GETRFNP2 computes the modified LU factorization without
37-
*> pivoting of a general M-by-N matrix A. The factorization has
36+
*> SLAORHR_COL_GETRFNP2 computes the modified LU factorization without
37+
*> pivoting of a real general M-by-N matrix A. The factorization has
3838
*> the form:
3939
*>
4040
*> A - S = L * U,
@@ -48,20 +48,20 @@
4848
*> least one in absolute value (so that division-by-zero not
4949
*> possible during the division by the diagonal element);
5050
*>
51-
*> L is a m-by-n lower triangular matrix with unit diagonal elements
52-
*> (lower trapezoidal if m > n);
51+
*> L is a M-by-N lower triangular matrix with unit diagonal elements
52+
*> (lower trapezoidal if M > N);
5353
*>
54-
*> and U is a m-by-n upper triangular matrix
55-
*> (upper trapezoidal if m < n).
54+
*> and U is a M-by-N upper triangular matrix
55+
*> (upper trapezoidal if M < N).
5656
*>
5757
*> This routine is an auxiliary routine used in the Householder
58-
*> reconstruction routine SORHR. In SORHR, this routine is applied
59-
*> to an orthonormal M-by-N matrix A, where each element is bounded
60-
*> by one in absolute value. With the choice of the matrix S above,
61-
*> one can show that the diagonal element at each step of Gaussian
62-
*> elimination is the largest (in absolute value) in the column
63-
*> on or below the diagonal, so that no pivoting is required for
64-
*> numerical stability [1].
58+
*> reconstruction routine SORHR_COL. In SORHR_COL, this routine is
59+
*> applied to an M-by-N matrix A with orthonormal columns, where each
60+
*> element is bounded by one in absolute value. With the choice of
61+
*> the matrix S above, one can show that the diagonal element at each
62+
*> step of Gaussian elimination is the largest (in absolute value) in
63+
*> the column on or below the diagonal, so that no pivoting is required
64+
*> for numerical stability [1].
6565
*>
6666
*> For more details on the Householder reconstruction algorithm,
6767
*> including the modified LU factorization, see [1].
@@ -82,10 +82,10 @@
8282
*>
8383
*> For more details on the recursive LU algorithm, see [2].
8484
*>
85-
*> SLAORHR_GETRFNP2 is called to factorize a block by the blocked
86-
*> routine SLAORHR_GETRFNP, which uses blocked code calling
87-
*. Level 3 BLAS to update the submatrix. However, SLAORHR_GETRFNP2
88-
*> is self-sufficient and can be used without SLAORHR_GETRFNP.
85+
*> SLAORHR_COL_GETRFNP2 is called to factorize a block by the blocked
86+
*> routine SLAORHR_COL_GETRFNP, which uses blocked code calling
87+
*. Level 3 BLAS to update the submatrix. However, SLAORHR_COL_GETRFNP2
88+
*> is self-sufficient and can be used without SLAORHR_COL_GETRFNP.
8989
*>
9090
*> [1] "Reconstructing Householder vectors from tall-skinny QR",
9191
*> G. Ballard, J. Demmel, L. Grigori, M. Jacquelin, H.D. Nguyen,
@@ -149,7 +149,7 @@
149149
*> \author Univ. of Colorado Denver
150150
*> \author NAG Ltd.
151151
*
152-
*> \date June 2019
152+
*> \date November 2019
153153
*
154154
*> \ingroup realGEcomputational
155155
*
@@ -158,20 +158,20 @@
158158
*>
159159
*> \verbatim
160160
*>
161-
*> June 2019, Igor Kozachenko,
162-
*> Computer Science Division,
163-
*> University of California, Berkeley
161+
*> November 2019, Igor Kozachenko,
162+
*> Computer Science Division,
163+
*> University of California, Berkeley
164164
*>
165165
*> \endverbatim
166166
*
167167
* =====================================================================
168-
RECURSIVE SUBROUTINE SLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
168+
RECURSIVE SUBROUTINE SLAORHR_COL_GETRFNP2( M, N, A, LDA, D, INFO )
169169
IMPLICIT NONE
170170
*
171171
* -- LAPACK computational routine (version 3.9.0) --
172172
* -- LAPACK is a software package provided by Univ. of Tennessee, --
173173
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
174-
* June 2019
174+
* November 2019
175175
*
176176
* .. Scalar Arguments ..
177177
INTEGER INFO, LDA, M, N
@@ -213,7 +213,7 @@ RECURSIVE SUBROUTINE SLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
213213
INFO = -4
214214
END IF
215215
IF( INFO.NE.0 ) THEN
216-
CALL XERBLA( 'SLAORHR_GETRFNP2', -INFO )
216+
CALL XERBLA( 'SLAORHR_COL_GETRFNP2', -INFO )
217217
RETURN
218218
END IF
219219
*
@@ -274,7 +274,7 @@ RECURSIVE SUBROUTINE SLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
274274
*
275275
* Factor B11, recursive call
276276
*
277-
CALL SLAORHR_GETRFNP2( N1, N1, A, LDA, D, IINFO )
277+
CALL SLAORHR_COL_GETRFNP2( N1, N1, A, LDA, D, IINFO )
278278
*
279279
* Solve for B21
280280
*
@@ -294,12 +294,12 @@ RECURSIVE SUBROUTINE SLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
294294
*
295295
* Factor B22, recursive call
296296
*
297-
CALL SLAORHR_GETRFNP2( M-N1, N2, A( N1+1, N1+1 ), LDA,
297+
CALL SLAORHR_COL_GETRFNP2( M-N1, N2, A( N1+1, N1+1 ), LDA,
298298
$ D( N1+1 ), IINFO )
299299
*
300300
END IF
301301
RETURN
302302
*
303-
* End of SLAORHR_GETRFNP2
303+
* End of SLAORHR_COL_GETRFNP2
304304
*
305305
END

SRC/sorhr_col.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ SUBROUTINE SORHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
282282
$ NPLUSONE
283283
* ..
284284
* .. External Subroutines ..
285-
EXTERNAL SCOPY, SLAORHR_GETRFNP, SSCAL, STRSM, XERBLA
285+
EXTERNAL SCOPY, SLAORHR_COL_GETRFNP, SSCAL, STRSM, XERBLA
286286
* ..
287287
* .. Intrinsic Functions ..
288288
INTRINSIC MAX, MIN
@@ -330,7 +330,7 @@ SUBROUTINE SORHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
330330
*
331331
* (1-1) Factor V1 and U.
332332

333-
CALL SLAORHR_GETRFNP( N, N, A, LDA, D, IINFO )
333+
CALL SLAORHR_COL_GETRFNP( N, N, A, LDA, D, IINFO )
334334
*
335335
* (1-2) Solve for V2.
336336
*

0 commit comments

Comments
 (0)