113 SUBROUTINE dorg2l( M, N, K, A, LDA, TAU, WORK, INFO )
120 INTEGER INFO, K, LDA, M, N
123 DOUBLE PRECISION A( LDA, * ), TAU( * ), WORK( * )
129 DOUBLE PRECISION ONE, ZERO
130 parameter( one = 1.0d+0, zero = 0.0d+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(
'DORG2L', -info )
179 a( m-n+ii, ii ) = one
180 CALL dlarf(
'Left', m-n+ii, ii-1, a( 1, ii ), 1, tau( i ), a,
182 CALL dscal( 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 dlarf(side, m, n, v, incv, tau, c, ldc, work)
DLARF applies an elementary reflector to a general rectangular matrix.
subroutine dscal(n, da, dx, incx)
DSCAL
subroutine dorg2l(m, n, k, a, lda, tau, work, info)
DORG2L generates all or part of the orthogonal matrix Q from a QL factorization determined by sgeqlf ...