178 SUBROUTINE zunmr3( SIDE, TRANS, M, N, K, L, A, LDA, TAU, C, LDC,
187 CHARACTER SIDE, TRANS
188 INTEGER INFO, K, L, LDA, LDC, M, N
191 COMPLEX*16 A( lda, * ), C( ldc, * ), TAU( * ), WORK( * )
198 INTEGER I, I1, I2, I3, IC, JA, JC, MI, NI, NQ
209 INTRINSIC dconjg, max
216 left = lsame( side,
'L' )
217 notran = lsame( trans,
'N' )
226 IF( .NOT.left .AND. .NOT.lsame( side,
'R' ) )
THEN
228 ELSE IF( .NOT.notran .AND. .NOT.lsame( trans,
'C' ) )
THEN
230 ELSE IF( m.LT.0 )
THEN
232 ELSE IF( n.LT.0 )
THEN
234 ELSE IF( k.LT.0 .OR. k.GT.nq )
THEN
236 ELSE IF( l.LT.0 .OR. ( left .AND. ( l.GT.m ) ) .OR.
237 $ ( .NOT.left .AND. ( l.GT.n ) ) )
THEN
239 ELSE IF( lda.LT.max( 1, k ) )
THEN
241 ELSE IF( ldc.LT.max( 1, m ) )
THEN
245 CALL xerbla(
'ZUNMR3', -info )
251 IF( m.EQ.0 .OR. n.EQ.0 .OR. k.EQ.0 )
254 IF( ( left .AND. .NOT.notran .OR. .NOT.left .AND. notran ) )
THEN
294 taui = dconjg( tau( i ) )
296 CALL zlarz( side, mi, ni, l, a( i, ja ), lda, taui,
297 $ c( ic, jc ), ldc, work )
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...
subroutine xerbla(SRNAME, INFO)
XERBLA