176 SUBROUTINE zunmr3( SIDE, TRANS, M, N, K, L, A, LDA, TAU, C, LDC,
184 CHARACTER SIDE, TRANS
185 INTEGER INFO, K, L, LDA, LDC, M, N
188 COMPLEX*16 A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
195 INTEGER I, I1, I2, I3, IC, JA, JC, MI, NI, NQ
206 INTRINSIC dconjg, max
213 left = lsame( side,
'L' )
214 notran = lsame( trans,
'N' )
223 IF( .NOT.left .AND. .NOT.lsame( side,
'R' ) )
THEN
225 ELSE IF( .NOT.notran .AND. .NOT.lsame( trans,
'C' ) )
THEN
227 ELSE IF( m.LT.0 )
THEN
229 ELSE IF( n.LT.0 )
THEN
231 ELSE IF( k.LT.0 .OR. k.GT.nq )
THEN
233 ELSE IF( l.LT.0 .OR. ( left .AND. ( l.GT.m ) ) .OR.
234 $ ( .NOT.left .AND. ( l.GT.n ) ) )
THEN
236 ELSE IF( lda.LT.max( 1, k ) )
THEN
238 ELSE IF( ldc.LT.max( 1, m ) )
THEN
242 CALL xerbla(
'ZUNMR3', -info )
248 IF( m.EQ.0 .OR. n.EQ.0 .OR. k.EQ.0 )
251 IF( ( left .AND. .NOT.notran .OR. .NOT.left .AND. notran ) )
THEN
291 taui = dconjg( tau( i ) )
293 CALL zlarz( side, mi, ni, l, a( i, ja ), lda, taui,
294 $ c( ic, jc ), ldc, work )
subroutine xerbla(srname, info)
subroutine zlarz(side, m, n, l, v, incv, tau, c, ldc, work)
ZLARZ applies an elementary reflector (as returned by stzrzf) to a general matrix.
subroutine zunmr3(side, trans, m, n, k, l, a, lda, tau, c, ldc, work, info)
ZUNMR3 multiplies a general matrix by the unitary matrix from a RZ factorization determined by ctzrzf...