150 SUBROUTINE dgehd2( N, ILO, IHI, A, LDA, TAU, WORK, INFO )
158 INTEGER ihi, ilo, info, lda, n
161 DOUBLE PRECISION a( lda, * ), tau( * ), work( * )
168 parameter( one = 1.0d+0 )
187 ELSE IF( ilo.LT.1 .OR. ilo.GT.max( 1, n ) )
THEN
189 ELSE IF( ihi.LT.min( ilo, n ) .OR. ihi.GT.n )
THEN
191 ELSE IF( lda.LT.max( 1, n ) )
THEN
195 CALL
xerbla(
'DGEHD2', -info )
199 DO 10 i = ilo, ihi - 1
203 CALL
dlarfg( ihi-i, a( i+1, i ), a( min( i+2, n ), i ), 1,
210 CALL
dlarf(
'Right', ihi, ihi-i, a( i+1, i ), 1, tau( i ),
211 $ a( 1, i+1 ), lda, work )
215 CALL
dlarf(
'Left', ihi-i, n-i, a( i+1, i ), 1, tau( i ),
216 $ a( i+1, i+1 ), lda, work )