176 SUBROUTINE sormr3( 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 REAL A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
195 INTEGER I, I1, I2, I3, IC, JA, JC, MI, NI, NQ
212 left = lsame( side,
'L' )
213 notran = lsame( trans,
'N' )
222 IF( .NOT.left .AND. .NOT.lsame( side,
'R' ) )
THEN
224 ELSE IF( .NOT.notran .AND. .NOT.lsame( trans,
'T' ) )
THEN
226 ELSE IF( m.LT.0 )
THEN
228 ELSE IF( n.LT.0 )
THEN
230 ELSE IF( k.LT.0 .OR. k.GT.nq )
THEN
232 ELSE IF( l.LT.0 .OR. ( left .AND. ( l.GT.m ) ) .OR.
233 $ ( .NOT.left .AND. ( l.GT.n ) ) )
THEN
235 ELSE IF( lda.LT.max( 1, k ) )
THEN
237 ELSE IF( ldc.LT.max( 1, m ) )
THEN
241 CALL xerbla(
'SORMR3', -info )
247 IF( m.EQ.0 .OR. n.EQ.0 .OR. k.EQ.0 )
250 IF( ( left .AND. .NOT.notran .OR. .NOT.left .AND. notran ) )
THEN
287 CALL slarz( side, mi, ni, l, a( i, ja ), lda, tau( i ),
288 $ c( ic, jc ), ldc, work )
subroutine xerbla(srname, info)
subroutine slarz(side, m, n, l, v, incv, tau, c, ldc, work)
SLARZ applies an elementary reflector (as returned by stzrzf) to a general matrix.
subroutine sormr3(side, trans, m, n, k, l, a, lda, tau, c, ldc, work, info)
SORMR3 multiplies a general matrix by the orthogonal matrix from a RZ factorization determined by stz...