Skip to content

Commit f295357

Browse files
committed
First pass to homgenize notation for transpose (**T) and conjugate transpose (**H)
Corresponds to bug0024
1 parent 53b71f5 commit f295357

File tree

610 files changed

+2894
-2889
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

610 files changed

+2894
-2889
lines changed

SRC/cgbbrd.f

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ SUBROUTINE CGBBRD( VECT, M, N, NCC, KL, KU, AB, LDAB, D, E, Q,
2020
* =======
2121
*
2222
* CGBBRD reduces a complex general m-by-n band matrix A to real upper
23-
* bidiagonal form B by a unitary transformation: Q' * A * P = B.
23+
* bidiagonal form B by a unitary transformation: Q**H * A * P = B.
2424
*
25-
* The routine computes B, and optionally forms Q or P', or computes
26-
* Q'*C for a given matrix C.
25+
* The routine computes B, and optionally forms Q or P**H, or computes
26+
* Q**H*C for a given matrix C.
2727
*
2828
* Arguments
2929
* =========
3030
*
3131
* VECT (input) CHARACTER*1
32-
* Specifies whether or not the matrices Q and P' are to be
32+
* Specifies whether or not the matrices Q and P**H are to be
3333
* formed.
34-
* = 'N': do not form Q or P';
34+
* = 'N': do not form Q or P**H;
3535
* = 'Q': form Q only;
36-
* = 'P': form P' only;
36+
* = 'P': form P**H only;
3737
* = 'B': form both.
3838
*
3939
* M (input) INTEGER
@@ -86,7 +86,7 @@ SUBROUTINE CGBBRD( VECT, M, N, NCC, KL, KU, AB, LDAB, D, E, Q,
8686
*
8787
* C (input/output) COMPLEX array, dimension (LDC,NCC)
8888
* On entry, an m-by-ncc matrix C.
89-
* On exit, C is overwritten by Q'*C.
89+
* On exit, C is overwritten by Q**H*C.
9090
* C is not referenced if NCC = 0.
9191
*
9292
* LDC (input) INTEGER
@@ -165,7 +165,7 @@ SUBROUTINE CGBBRD( VECT, M, N, NCC, KL, KU, AB, LDAB, D, E, Q,
165165
RETURN
166166
END IF
167167
*
168-
* Initialize Q and P' to the unit matrix, if needed
168+
* Initialize Q and P**H to the unit matrix, if needed
169169
*
170170
IF( WANTQ )
171171
$ CALL CLASET( 'Full', M, M, CZERO, CONE, Q, LDQ )
@@ -338,7 +338,7 @@ SUBROUTINE CGBBRD( VECT, M, N, NCC, KL, KU, AB, LDAB, D, E, Q,
338338
*
339339
IF( WANTPT ) THEN
340340
*
341-
* accumulate product of plane rotations in P'
341+
* accumulate product of plane rotations in P**H
342342
*
343343
DO 60 J = J1, J2, KB1
344344
CALL CROT( N, PT( J+KUN-1, 1 ), LDPT,

SRC/cgbcon.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,13 @@ SUBROUTINE CGBCON( NORM, N, KL, KU, AB, LDAB, IPIV, ANORM, RCOND,
187187
$ KL+KU, AB, LDAB, WORK, SCALE, RWORK, INFO )
188188
ELSE
189189
*
190-
* Multiply by inv(U').
190+
* Multiply by inv(U**H).
191191
*
192192
CALL CLATBS( 'Upper', 'Conjugate transpose', 'Non-unit',
193193
$ NORMIN, N, KL+KU, AB, LDAB, WORK, SCALE, RWORK,
194194
$ INFO )
195195
*
196-
* Multiply by inv(L').
196+
* Multiply by inv(L**H).
197197
*
198198
IF( LNOTI ) THEN
199199
DO 30 J = N - 1, 1, -1

SRC/cgebd2.f

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ SUBROUTINE CGEBD2( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, INFO )
8787
*
8888
* Each H(i) and G(i) has the form:
8989
*
90-
* H(i) = I - tauq * v * v' and G(i) = I - taup * u * u'
90+
* H(i) = I - tauq * v * v**H and G(i) = I - taup * u * u**H
9191
*
9292
* where tauq and taup are complex scalars, and v and u are complex
9393
* vectors; v(1:i-1) = 0, v(i) = 1, and v(i+1:m) is stored on exit in
@@ -100,7 +100,7 @@ SUBROUTINE CGEBD2( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, INFO )
100100
*
101101
* Each H(i) and G(i) has the form:
102102
*
103-
* H(i) = I - tauq * v * v' and G(i) = I - taup * u * u'
103+
* H(i) = I - tauq * v * v**H and G(i) = I - taup * u * u**H
104104
*
105105
* where tauq and taup are complex scalars, v and u are complex vectors;
106106
* v(1:i) = 0, v(i+1) = 1, and v(i+2:m) is stored on exit in A(i+2:m,i);
@@ -170,7 +170,7 @@ SUBROUTINE CGEBD2( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, INFO )
170170
D( I ) = ALPHA
171171
A( I, I ) = ONE
172172
*
173-
* Apply H(i)' to A(i:m,i+1:n) from the left
173+
* Apply H(i)**H to A(i:m,i+1:n) from the left
174174
*
175175
IF( I.LT.N )
176176
$ CALL CLARF( 'Left', M-I+1, N-I, A( I, I ), 1,
@@ -233,7 +233,7 @@ SUBROUTINE CGEBD2( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, INFO )
233233
E( I ) = ALPHA
234234
A( I+1, I ) = ONE
235235
*
236-
* Apply H(i)' to A(i+1:m,i+1:n) from the left
236+
* Apply H(i)**H to A(i+1:m,i+1:n) from the left
237237
*
238238
CALL CLARF( 'Left', M-I, N-I, A( I+1, I ), 1,
239239
$ CONJG( TAUQ( I ) ), A( I+1, I+1 ), LDA,

SRC/cgebrd.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ SUBROUTINE CGEBRD( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, LWORK,
100100
*
101101
* Each H(i) and G(i) has the form:
102102
*
103-
* H(i) = I - tauq * v * v' and G(i) = I - taup * u * u'
103+
* H(i) = I - tauq * v * v**H and G(i) = I - taup * u * u**H
104104
*
105105
* where tauq and taup are complex scalars, and v and u are complex
106106
* vectors; v(1:i-1) = 0, v(i) = 1, and v(i+1:m) is stored on exit in
@@ -113,7 +113,7 @@ SUBROUTINE CGEBRD( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, LWORK,
113113
*
114114
* Each H(i) and G(i) has the form:
115115
*
116-
* H(i) = I - tauq * v * v' and G(i) = I - taup * u * u'
116+
* H(i) = I - tauq * v * v**H and G(i) = I - taup * u * u**H
117117
*
118118
* where tauq and taup are complex scalars, and v and u are complex
119119
* vectors; v(1:i) = 0, v(i+1) = 1, and v(i+2:m) is stored on exit in
@@ -233,7 +233,7 @@ SUBROUTINE CGEBRD( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, LWORK,
233233
$ WORK( LDWRKX*NB+1 ), LDWRKY )
234234
*
235235
* Update the trailing submatrix A(i+ib:m,i+ib:n), using
236-
* an update of the form A := A - V*Y' - X*U'
236+
* an update of the form A := A - V*Y**H - X*U**H
237237
*
238238
CALL CGEMM( 'No transpose', 'Conjugate transpose', M-I-NB+1,
239239
$ N-I-NB+1, NB, -ONE, A( I+NB, I ), LDA,

SRC/cgecon.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ SUBROUTINE CGECON( NORM, N, A, LDA, ANORM, RCOND, WORK, RWORK,
156156
$ A, LDA, WORK, SU, RWORK( N+1 ), INFO )
157157
ELSE
158158
*
159-
* Multiply by inv(U').
159+
* Multiply by inv(U**H).
160160
*
161161
CALL CLATRS( 'Upper', 'Conjugate transpose', 'Non-unit',
162162
$ NORMIN, N, A, LDA, WORK, SU, RWORK( N+1 ),
163163
$ INFO )
164164
*
165-
* Multiply by inv(L').
165+
* Multiply by inv(L**H).
166166
*
167167
CALL CLATRS( 'Lower', 'Conjugate transpose', 'Unit', NORMIN,
168168
$ N, A, LDA, WORK, SL, RWORK, INFO )

SRC/cgehd2.f

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SUBROUTINE CGEHD2( N, ILO, IHI, A, LDA, TAU, WORK, INFO )
1616
* =======
1717
*
1818
* CGEHD2 reduces a complex general matrix A to upper Hessenberg form H
19-
* by a unitary similarity transformation: Q' * A * Q = H .
19+
* by a unitary similarity transformation: Q**H * A * Q = H .
2020
*
2121
* Arguments
2222
* =========
@@ -63,7 +63,7 @@ SUBROUTINE CGEHD2( N, ILO, IHI, A, LDA, TAU, WORK, INFO )
6363
*
6464
* Each H(i) has the form
6565
*
66-
* H(i) = I - tau * v * v'
66+
* H(i) = I - tau * v * v**H
6767
*
6868
* where tau is a complex scalar, and v is a complex vector with
6969
* v(1:i) = 0, v(i+1) = 1 and v(ihi+1:n) = 0; v(i+2:ihi) is stored on
@@ -134,7 +134,7 @@ SUBROUTINE CGEHD2( N, ILO, IHI, A, LDA, TAU, WORK, INFO )
134134
CALL CLARF( 'Right', IHI, IHI-I, A( I+1, I ), 1, TAU( I ),
135135
$ A( 1, I+1 ), LDA, WORK )
136136
*
137-
* Apply H(i)' to A(i+1:ihi,i+1:n) from the left
137+
* Apply H(i)**H to A(i+1:ihi,i+1:n) from the left
138138
*
139139
CALL CLARF( 'Left', IHI-I, N-I, A( I+1, I ), 1,
140140
$ CONJG( TAU( I ) ), A( I+1, I+1 ), LDA, WORK )

SRC/cgehrd.f

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SUBROUTINE CGEHRD( N, ILO, IHI, A, LDA, TAU, WORK, LWORK, INFO )
1616
* =======
1717
*
1818
* CGEHRD reduces a complex general matrix A to upper Hessenberg form H by
19-
* an unitary similarity transformation: Q' * A * Q = H .
19+
* an unitary similarity transformation: Q**H * A * Q = H .
2020
*
2121
* Arguments
2222
* =========
@@ -75,7 +75,7 @@ SUBROUTINE CGEHRD( N, ILO, IHI, A, LDA, TAU, WORK, LWORK, INFO )
7575
*
7676
* Each H(i) has the form
7777
*
78-
* H(i) = I - tau * v * v'
78+
* H(i) = I - tau * v * v**H
7979
*
8080
* where tau is a complex scalar, and v is a complex vector with
8181
* v(1:i) = 0, v(i+1) = 1 and v(ihi+1:n) = 0; v(i+2:ihi) is stored on
@@ -223,14 +223,14 @@ SUBROUTINE CGEHRD( N, ILO, IHI, A, LDA, TAU, WORK, LWORK, INFO )
223223
IB = MIN( NB, IHI-I )
224224
*
225225
* Reduce columns i:i+ib-1 to Hessenberg form, returning the
226-
* matrices V and T of the block reflector H = I - V*T*V'
226+
* matrices V and T of the block reflector H = I - V*T*V**H
227227
* which performs the reduction, and also the matrix Y = A*V*T
228228
*
229229
CALL CLAHR2( IHI, I, IB, A( 1, I ), LDA, TAU( I ), T, LDT,
230230
$ WORK, LDWORK )
231231
*
232232
* Apply the block reflector H to A(1:ihi,i+ib:ihi) from the
233-
* right, computing A := A - Y * V'. V(i+ib,ib-1) must be set
233+
* right, computing A := A - Y * V**H. V(i+ib,ib-1) must be set
234234
* to 1
235235
*
236236
EI = A( I+IB, I+IB-1 )

SRC/cgelq2.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ SUBROUTINE CGELQ2( M, N, A, LDA, TAU, WORK, INFO )
5353
*
5454
* The matrix Q is represented as a product of elementary reflectors
5555
*
56-
* Q = H(k)' . . . H(2)' H(1)', where k = min(m,n).
56+
* Q = H(k)**H . . . H(2)**H H(1)**H, where k = min(m,n).
5757
*
5858
* Each H(i) has the form
5959
*
60-
* H(i) = I - tau * v * v'
60+
* H(i) = I - tau * v * v**H
6161
*
6262
* where tau is a complex scalar, and v is a complex vector with
6363
* v(1:i-1) = 0 and v(i) = 1; conjg(v(i+1:n)) is stored on exit in

SRC/cgelqf.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ SUBROUTINE CGELQF( M, N, A, LDA, TAU, WORK, LWORK, INFO )
6464
*
6565
* The matrix Q is represented as a product of elementary reflectors
6666
*
67-
* Q = H(k)' . . . H(2)' H(1)', where k = min(m,n).
67+
* Q = H(k)**H . . . H(2)**H H(1)**H, where k = min(m,n).
6868
*
6969
* Each H(i) has the form
7070
*
71-
* H(i) = I - tau * v * v'
71+
* H(i) = I - tau * v * v**H
7272
*
7373
* where tau is a complex scalar, and v is a complex vector with
7474
* v(1:i-1) = 0 and v(i) = 1; conjg(v(i+1:n)) is stored on exit in

SRC/cgels.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ SUBROUTINE CGELS( TRANS, M, N, NRHS, A, LDA, B, LDB, WORK, LWORK,
278278
*
279279
* Least-Squares Problem min || A * X - B ||
280280
*
281-
* B(1:M,1:NRHS) := Q' * B(1:M,1:NRHS)
281+
* B(1:M,1:NRHS) := Q**H * B(1:M,1:NRHS)
282282
*
283283
CALL CUNMQR( 'Left', 'Conjugate transpose', M, NRHS, N, A,
284284
$ LDA, WORK( 1 ), B, LDB, WORK( MN+1 ), LWORK-MN,
@@ -360,7 +360,7 @@ SUBROUTINE CGELS( TRANS, M, N, NRHS, A, LDA, B, LDB, WORK, LWORK,
360360
30 CONTINUE
361361
40 CONTINUE
362362
*
363-
* B(1:N,1:NRHS) := Q(1:N,:)' * B(1:M,1:NRHS)
363+
* B(1:N,1:NRHS) := Q(1:N,:)**H * B(1:M,1:NRHS)
364364
*
365365
CALL CUNMLQ( 'Left', 'Conjugate transpose', N, NRHS, M, A,
366366
$ LDA, WORK( 1 ), B, LDB, WORK( MN+1 ), LWORK-MN,

0 commit comments

Comments
 (0)