113 SUBROUTINE sorg2l( M, N, K, A, LDA, TAU, WORK, INFO )
120 INTEGER INFO, K, LDA, M, N
123 REAL A( LDA, * ), TAU( * ), WORK( * )
130 parameter( one = 1.0e+0, zero = 0.0e+0 )
148 ELSE IF( n.LT.0 .OR. n.GT.m )
THEN
150 ELSE IF( k.LT.0 .OR. k.GT.n )
THEN
152 ELSE IF( lda.LT.max( 1, m ) )
THEN
156 CALL xerbla(
'SORG2L', -info )
179 a( m-n+ii, ii ) = one
180 CALL slarf(
'Left', m-n+ii, ii-1, a( 1, ii ), 1, tau( i ), a,
182 CALL sscal( m-n+ii-1, -tau( i ), a( 1, ii ), 1 )
183 a( m-n+ii, ii ) = one - tau( i )
187 DO 30 l = m - n + ii + 1, m
subroutine xerbla(srname, info)
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 ...