111 SUBROUTINE sorg2r( M, N, K, A, LDA, TAU, WORK, INFO )
118 INTEGER INFO, K, LDA, M, N
121 REAL A( LDA, * ), TAU( * ), WORK( * )
128 parameter( one = 1.0e+0, zero = 0.0e+0 )
146 ELSE IF( n.LT.0 .OR. n.GT.m )
THEN
148 ELSE IF( k.LT.0 .OR. k.GT.n )
THEN
150 ELSE IF( lda.LT.max( 1, m ) )
THEN
154 CALL xerbla(
'SORG2R', -info )
177 CALL slarf1f(
'Left', m-i+1, n-i, a( i, i ), 1, tau( i ),
178 $ a( i, i+1 ), lda, work )
181 $
CALL sscal( m-i, -tau( i ), a( i+1, i ), 1 )
182 a( i, i ) = one - tau( i )
subroutine sorg2r(m, n, k, a, lda, tau, work, info)
SORG2R generates all or part of the orthogonal matrix Q from a QR factorization determined by sgeqrf ...
subroutine slarf1f(side, m, n, v, incv, tau, c, ldc, work)
SLARF1F applies an elementary reflector to a general rectangular