115 SUBROUTINE dopgtr( UPLO, N, AP, TAU, Q, LDQ, WORK, INFO )
127 DOUBLE PRECISION ap( * ), q( ldq, * ), tau( * ), work( * )
133 DOUBLE PRECISION zero, one
134 parameter( zero = 0.0d+0, one = 1.0d+0 )
138 INTEGER i, iinfo, ij, j
155 upper =
lsame( uplo,
'U' )
156 IF( .NOT.upper .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
158 ELSE IF( n.LT.0 )
THEN
160 ELSE IF( ldq.LT.max( 1, n ) )
THEN
164 CALL
xerbla(
'DOPGTR', -info )
197 CALL
dorg2l( n-1, n-1, n-1, q, ldq, tau, work, iinfo )
224 CALL
dorg2r( n-1, n-1, n-1, q( 2, 2 ), ldq, tau, work,