178 SUBROUTINE sormr3( 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 REAL A( lda, * ), C( ldc, * ), TAU( * ), WORK( * )
198 INTEGER I, I1, I2, I3, IC, JA, JC, MI, NI, NQ
215 left = lsame( side,
'L' )
216 notran = lsame( trans,
'N' )
225 IF( .NOT.left .AND. .NOT.lsame( side,
'R' ) )
THEN
227 ELSE IF( .NOT.notran .AND. .NOT.lsame( trans,
'T' ) )
THEN
229 ELSE IF( m.LT.0 )
THEN
231 ELSE IF( n.LT.0 )
THEN
233 ELSE IF( k.LT.0 .OR. k.GT.nq )
THEN
235 ELSE IF( l.LT.0 .OR. ( left .AND. ( l.GT.m ) ) .OR.
236 $ ( .NOT.left .AND. ( l.GT.n ) ) )
THEN
238 ELSE IF( lda.LT.max( 1, k ) )
THEN
240 ELSE IF( ldc.LT.max( 1, m ) )
THEN
244 CALL xerbla(
'SORMR3', -info )
250 IF( m.EQ.0 .OR. n.EQ.0 .OR. k.EQ.0 )
253 IF( ( left .AND. .NOT.notran .OR. .NOT.left .AND. notran ) )
THEN
290 CALL slarz( side, mi, ni, l, a( i, ja ), lda, tau( i ),
291 $ c( ic, jc ), ldc, work )
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 xerbla(SRNAME, INFO)
XERBLA
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...