Skip to content

Commit 3730c98

Browse files
author
scr2016
committed
renamed DLAORHR_GETRFNP into DLAORHR_COL_GETRFNP, and DLAORHR_GETRFNP2 into DLAORHR_COL_GETRFNP2
1 parent 51d2d43 commit 3730c98

File tree

8 files changed

+80
-80
lines changed

8 files changed

+80
-80
lines changed

SRC/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ set(DLASRC
343343
dgetsls.f dgeqr.f dlatsqr.f dlamtsqr.f dgemqr.f
344344
dgelq.f dlaswlq.f dlamswlq.f dgemlq.f
345345
dtplqt.f dtplqt2.f dtpmlqt.f
346-
dorhr_col.f dlaorhr_getrfnp.f dlaorhr_getrfnp2.f
346+
dorhr_col.f dlaorhr_col_getrfnp.f dlaorhr_col_getrfnp2.f
347347
dsytrd_2stage.f dsytrd_sy2sb.f dsytrd_sb2st.F dsb2st_kernels.f
348348
dsyevd_2stage.f dsyev_2stage.f dsyevx_2stage.f dsyevr_2stage.f
349349
dsbev_2stage.f dsbevx_2stage.f dsbevd_2stage.f dsygv_2stage.f

SRC/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ DLASRC = \
377377
dgetsls.o dgeqr.o dlatsqr.o dlamtsqr.o dgemqr.o \
378378
dgelq.o dlaswlq.o dlamswlq.o dgemlq.o \
379379
dtplqt.o dtplqt2.o dtpmlqt.o \
380-
dorhr_col.o dlaorhr_getrfnp.o dlaorhr_getrfnp2.o \
380+
dorhr_col.o dlaorhr_col_getrfnp.o dlaorhr_col_getrfnp2.o \
381381
dsytrd_2stage.o dsytrd_sy2sb.o dsytrd_sb2st.o dsb2st_kernels.o \
382382
dsyevd_2stage.o dsyev_2stage.o dsyevx_2stage.o dsyevr_2stage.o \
383383
dsbev_2stage.o dsbevx_2stage.o dsbevd_2stage.o dsygv_2stage.o \

SRC/dlaorhr_getrfnp.f renamed to SRC/dlaorhr_col_getrfnp.f

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
*> \brief \b DLAORHR_GETRFNP
1+
*> \brief \b DLAORHR_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 DLAORHR_GETRFNP + dependencies
10-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaorhr_getrfnp.f">
9+
*> Download DLAORHR_COL_GETRFNP + dependencies
10+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaorhr_col_getrfnp.f">
1111
*> [TGZ]</a>
12-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaorhr_getrfnp.f">
12+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaorhr_col_getrfnp.f">
1313
*> [ZIP]</a>
14-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaorhr_getrfnp.f">
14+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaorhr_col_getrfnp.f">
1515
*> [TXT]</a>
1616
*> \endhtmlonly
1717
*
1818
* Definition:
1919
* ===========
2020
*
21-
* SUBROUTINE DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
21+
* SUBROUTINE DLAORHR_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-
*> DLAORHR_GETRFNP computes the modified LU factorization without
37-
*> pivoting of a general M-by-N matrix A. The factorization has
36+
*> DLAORHR_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 DORHR. In DORHR, 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 DORHR_COL. In DORHR_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 DLAORHR_GETRFNP2.
71+
*> this routine calls the recursive routine DLAORHR_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 doubleGEcomputational
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 DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
147+
SUBROUTINE DLAORHR_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 DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
169169
INTEGER IINFO, J, JB, NB
170170
* ..
171171
* .. External Subroutines ..
172-
EXTERNAL DGEMM, DLAORHR_GETRFNP2, DTRSM, XERBLA
172+
EXTERNAL DGEMM, DLAORHR_COL_GETRFNP2, DTRSM, XERBLA
173173
* ..
174174
* .. External Functions ..
175175
INTEGER ILAENV
@@ -191,7 +191,7 @@ SUBROUTINE DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
191191
INFO = -4
192192
END IF
193193
IF( INFO.NE.0 ) THEN
194-
CALL XERBLA( 'DLAORHR_GETRFNP', -INFO )
194+
CALL XERBLA( 'DLAORHR_COL_GETRFNP', -INFO )
195195
RETURN
196196
END IF
197197
*
@@ -203,13 +203,13 @@ SUBROUTINE DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
203203
* Determine the block size for this environment.
204204
*
205205

206-
NB = ILAENV( 1, 'DLAORHR_GETRFNP', ' ', M, N, -1, -1 )
206+
NB = ILAENV( 1, 'DLAORHR_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 DLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
212+
CALL DLAORHR_COL_GETRFNP2( M, N, A, LDA, D, INFO )
213213
ELSE
214214
*
215215
* Use blocked code.
@@ -219,8 +219,8 @@ SUBROUTINE DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
219219
*
220220
* Factor diagonal and subdiagonal blocks.
221221
*
222-
CALL DLAORHR_GETRFNP2( M-J+1, JB, A( J, J ), LDA, D( J ),
223-
$ IINFO )
222+
CALL DLAORHR_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 DLAORHR_GETRFNP( M, N, A, LDA, D, INFO )
243243
END IF
244244
RETURN
245245
*
246-
* End of DLAORHR_GETRFNP
246+
* End of DLAORHR_COL_GETRFNP
247247
*
248248
END

SRC/dlaorhr_getrfnp2.f renamed to SRC/dlaorhr_col_getrfnp2.f

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*> \brief \b DLAORHR_GETRFNP2
1+
*> \brief \b DLAORHR_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/dlaorhr_getrfnp2.f">
10+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dlaorhr_col_getrfnp2.f">
1111
*> [TGZ]</a>
12-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaorhr_getrfnp2.f">
12+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dlaorhr_col_getrfnp2.f">
1313
*> [ZIP]</a>
14-
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaorhr_getrfnp2.f">
14+
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dlaorhr_col_getrfnp2.f">
1515
*> [TXT]</a>
1616
*> \endhtmlonly
1717
*
1818
* Definition:
1919
* ===========
2020
*
21-
* RECURSIVE SUBROUTINE DLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
21+
* RECURSIVE SUBROUTINE DLAORHR_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-
*> DLAORHR_GETRFNP2 computes the modified LU factorization without
37-
*> pivoting of a general M-by-N matrix A. The factorization has
36+
*> DLAORHR_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 DORHR. In DORHR, 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 DORHR_COL. In DORHR_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-
*> DLAORHR_GETRFNP2 is called to factorize a block by the blocked
86-
*> routine DLAORHR_GETRFNP, which uses blocked code calling
87-
*. Level 3 BLAS to update the submatrix. However, DLAORHR_GETRFNP2
88-
*> is self-sufficient and can be used without DLAORHR_GETRFNP.
85+
*> DLAORHR_COL_GETRFNP2 is called to factorize a block by the blocked
86+
*> routine DLAORHR_COL_GETRFNP, which uses blocked code calling
87+
*. Level 3 BLAS to update the submatrix. However, DLAORHR_COL_GETRFNP2
88+
*> is self-sufficient and can be used without DLAORHR_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 doubleGEcomputational
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 DLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
168+
RECURSIVE SUBROUTINE DLAORHR_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 DLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
213213
INFO = -4
214214
END IF
215215
IF( INFO.NE.0 ) THEN
216-
CALL XERBLA( 'DLAORHR_GETRFNP2', -INFO )
216+
CALL XERBLA( 'DLAORHR_COL_GETRFNP2', -INFO )
217217
RETURN
218218
END IF
219219
*
@@ -274,7 +274,7 @@ RECURSIVE SUBROUTINE DLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
274274
*
275275
* Factor B11, recursive call
276276
*
277-
CALL DLAORHR_GETRFNP2( N1, N1, A, LDA, D, IINFO )
277+
CALL DLAORHR_COL_GETRFNP2( N1, N1, A, LDA, D, IINFO )
278278
*
279279
* Solve for B21
280280
*
@@ -294,12 +294,12 @@ RECURSIVE SUBROUTINE DLAORHR_GETRFNP2( M, N, A, LDA, D, INFO )
294294
*
295295
* Factor B22, recursive call
296296
*
297-
CALL DLAORHR_GETRFNP2( M-N1, N2, A( N1+1, N1+1 ), LDA,
298-
$ D( N1+1 ), IINFO )
297+
CALL DLAORHR_COL_GETRFNP2( M-N1, N2, A( N1+1, N1+1 ), LDA,
298+
$ D( N1+1 ), IINFO )
299299
*
300300
END IF
301301
RETURN
302302
*
303-
* End of DLAORHR_GETRFNP2
303+
* End of DLAORHR_COL_GETRFNP2
304304
*
305305
END

SRC/dorhr_col.f

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,8 @@ SUBROUTINE DORHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
282282
$ NPLUSONE
283283
* ..
284284
* .. External Subroutines ..
285-
EXTERNAL DCOPY, DLAORHR_GETRFNP, DSCAL, DTRSM, XERBLA
285+
EXTERNAL DCOPY, DLAORHR_COL_GETRFNP, DSCAL, DTRSM,
286+
$ XERBLA
286287
* ..
287288
* .. Intrinsic Functions ..
288289
INTRINSIC MAX, MIN
@@ -330,7 +331,7 @@ SUBROUTINE DORHR_COL( M, N, NB, A, LDA, T, LDT, D, INFO )
330331
*
331332
* (1-1) Factor V1 and U.
332333

333-
CALL DLAORHR_GETRFNP( N, N, A, LDA, D, IINFO )
334+
CALL DLAORHR_COL_GETRFNP( N, N, A, LDA, D, IINFO )
334335
*
335336
* (1-2) Solve for V2.
336337
*

TESTING/LIN/dchkaa.f

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ PROGRAM DCHKAA
116116
* -- LAPACK test routine (version 3.9.0) --
117117
* -- LAPACK is a software package provided by Univ. of Tennessee, --
118118
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
119-
* June 2019
119+
* Novemebr 2019
120120
*
121121
* =====================================================================
122122
*
@@ -677,7 +677,7 @@ PROGRAM DCHKAA
677677
*
678678
* SK: symmetric indefinite matrices,
679679
* with bounded Bunch-Kaufman (rook) pivoting algorithm,
680-
* different matrix storage format than SR path version.
680+
* differnet matrix storage format than SR path version.
681681
*
682682
NTYPES = 10
683683
CALL ALAREQ( PATH, NMATS, DOTYPE, NTYPES, NIN, NOUT )
@@ -1023,6 +1023,7 @@ PROGRAM DCHKAA
10231023
END IF
10241024
*
10251025
ELSE
1026+
10261027
*
10271028
WRITE( NOUT, FMT = 9990 )PATH
10281029
END IF

0 commit comments

Comments
 (0)