155 SUBROUTINE sormr2( SIDE, TRANS, M, N, K, A, LDA, TAU, C, LDC,
163 CHARACTER SIDE, TRANS
164 INTEGER INFO, K, LDA, LDC, M, N
167 REAL A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
174 INTEGER I, I1, I2, I3, MI, NI, NQ
191 left = lsame( side,
'L' )
192 notran = lsame( trans,
'N' )
201 IF( .NOT.left .AND. .NOT.lsame( side,
'R' ) )
THEN
203 ELSE IF( .NOT.notran .AND. .NOT.lsame( trans,
'T' ) )
THEN
205 ELSE IF( m.LT.0 )
THEN
207 ELSE IF( n.LT.0 )
THEN
209 ELSE IF( k.LT.0 .OR. k.GT.nq )
THEN
211 ELSE IF( lda.LT.max( 1, k ) )
THEN
213 ELSE IF( ldc.LT.max( 1, m ) )
THEN
217 CALL xerbla(
'SORMR2', -info )
223 IF( m.EQ.0 .OR. n.EQ.0 .OR. k.EQ.0 )
226 IF( ( left .AND. .NOT.notran ) .OR. ( .NOT.left .AND. notran ) )
258 CALL slarf1l( side, mi, ni, a( i, 1 ), lda, tau( i ), c,
subroutine sormr2(side, trans, m, n, k, a, lda, tau, c, ldc, work, info)
SORMR2 multiplies a general matrix by the orthogonal matrix from a RQ factorization determined by sge...
subroutine slarf1l(side, m, n, v, incv, tau, c, ldc, work)
SLARF1L applies an elementary reflector to a general rectangular