115 SUBROUTINE dorg2l( M, N, K, A, LDA, TAU, WORK, INFO )
123 INTEGER INFO, K, LDA, M, N
126 DOUBLE PRECISION A( lda, * ), TAU( * ), WORK( * )
132 DOUBLE PRECISION ONE, ZERO
133 parameter ( one = 1.0d+0, zero = 0.0d+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(
'DORG2L', -info )
182 a( m-n+ii, ii ) = one
183 CALL dlarf(
'Left', m-n+ii, ii-1, a( 1, ii ), 1, tau( i ), a,
185 CALL dscal( 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 dlarf(SIDE, M, N, V, INCV, TAU, C, LDC, WORK)
DLARF applies an elementary reflector to a general rectangular matrix.
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 ...
subroutine xerbla(SRNAME, INFO)
XERBLA
subroutine dscal(N, DA, DX, INCX)
DSCAL