115 SUBROUTINE sorg2l( M, N, K, A, LDA, TAU, WORK, INFO )
123 INTEGER INFO, K, LDA, M, N
126 REAL A( lda, * ), TAU( * ), WORK( * )
133 parameter ( one = 1.0e+0, zero = 0.0e+0 )
151 ELSE IF( n.LT.0 .OR. n.GT.m )
THEN
153 ELSE IF( k.LT.0 .OR. k.GT.n )
THEN
155 ELSE IF( lda.LT.max( 1, m ) )
THEN
159 CALL xerbla(
'SORG2L', -info )
182 a( m-n+ii, ii ) = one
183 CALL slarf(
'Left', m-n+ii, ii-1, a( 1, ii ), 1, tau( i ), a,
185 CALL sscal( m-n+ii-1, -tau( i ), a( 1, ii ), 1 )
186 a( m-n+ii, ii ) = one - tau( i )
190 DO 30 l = m - n + ii + 1, m
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine slarf(SIDE, M, N, V, INCV, TAU, C, LDC, WORK)
SLARF applies an elementary reflector to a general rectangular matrix.
subroutine sscal(N, SA, SX, INCX)
SSCAL
subroutine sorg2l(M, N, K, A, LDA, TAU, WORK, INFO)
SORG2L generates all or part of the orthogonal matrix Q from a QL factorization determined by sgeqlf ...