157 SUBROUTINE zunm2l( SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC,
165 CHARACTER SIDE, TRANS
166 INTEGER INFO, K, LDA, LDC, M, N
169 COMPLEX*16 A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
176 parameter( one = ( 1.0d+0, 0.0d+0 ) )
180 INTEGER I, I1, I2, I3, MI, NI, NQ
191 INTRINSIC dconjg, max
198 left = lsame( side,
'L' )
199 notran = lsame( trans,
'N' )
208 IF( .NOT.left .AND. .NOT.lsame( side,
'R' ) )
THEN
210 ELSE IF( .NOT.notran .AND. .NOT.lsame( trans,
'C' ) )
THEN
212 ELSE IF( m.LT.0 )
THEN
214 ELSE IF( n.LT.0 )
THEN
216 ELSE IF( k.LT.0 .OR. k.GT.nq )
THEN
218 ELSE IF( lda.LT.max( 1, nq ) )
THEN
220 ELSE IF( ldc.LT.max( 1, m ) )
THEN
224 CALL xerbla(
'ZUNM2L', -info )
230 IF( m.EQ.0 .OR. n.EQ.0 .OR. k.EQ.0 )
233 IF( ( left .AND. notran .OR. .NOT.left .AND. .NOT.notran ) )
THEN
267 taui = dconjg( tau( i ) )
271 CALL zlarf( side, mi, ni, a( 1, i ), 1, taui, c, ldc, work )
subroutine xerbla(srname, info)
subroutine zlarf(side, m, n, v, incv, tau, c, ldc, work)
ZLARF applies an elementary reflector to a general rectangular matrix.
subroutine zunm2l(side, trans, m, n, k, a, lda, tau, c, ldc, work, info)
ZUNM2L multiplies a general matrix by the unitary matrix from a QL factorization determined by cgeqlf...