115 SUBROUTINE zupgtr( UPLO, N, AP, TAU, Q, LDQ, WORK, INFO )
127 COMPLEX*16 ap( * ), q( ldq, * ), tau( * ), work( * )
133 COMPLEX*16 czero, cone
134 parameter( czero = ( 0.0d+0, 0.0d+0 ),
135 $ cone = ( 1.0d+0, 0.0d+0 ) )
139 INTEGER i, iinfo, ij, j
156 upper =
lsame( uplo,
'U' )
157 IF( .NOT.upper .AND. .NOT.
lsame( uplo,
'L' ) )
THEN
159 ELSE IF( n.LT.0 )
THEN
161 ELSE IF( ldq.LT.max( 1, n ) )
THEN
165 CALL
xerbla(
'ZUPGTR', -info )
198 CALL
zung2l( n-1, n-1, n-1, q, ldq, tau, work, iinfo )
225 CALL
zung2r( n-1, n-1, n-1, q( 2, 2 ), ldq, tau, work,