178 SUBROUTINE cunmr3( 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 a( lda, * ), c( ldc, * ), tau( * ), work( * )
198 INTEGER i, i1, i2, i3, ic, ja, jc, mi, ni, nq
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(
'CUNMR3', -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 = conjg( tau( i ) )
296 CALL
clarz( side, mi, ni, l, a( i, ja ), lda, taui,
297 $ c( ic, jc ), ldc, work )