90 SUBROUTINE zpptri( UPLO, N, AP, INFO )
108 parameter( one = 1.0d+0 )
112 INTEGER J, JC, JJ, JJN
118 EXTERNAL lsame, zdotc
131 upper = lsame( uplo,
'U' )
132 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
134 ELSE IF( n.LT.0 )
THEN
138 CALL xerbla(
'ZPPTRI', -info )
149 CALL ztptri( uplo,
'Non-unit', n, ap, info )
161 $
CALL zhpr(
'Upper', j-1, one, ap( jc ), 1, ap )
162 ajj = dble( ap( jj ) )
163 CALL zdscal( j, ajj, ap( jc ), 1 )
173 ap( jj ) = dble( zdotc( n-j+1, ap( jj ), 1, ap( jj ),
176 $
CALL ztpmv(
'Lower',
'Conjugate transpose',
178 $ n-j, ap( jjn ), ap( jj+1 ), 1 )
subroutine xerbla(srname, info)
subroutine zhpr(uplo, n, alpha, x, incx, ap)
ZHPR
subroutine zpptri(uplo, n, ap, info)
ZPPTRI
subroutine zdscal(n, da, zx, incx)
ZDSCAL
subroutine ztpmv(uplo, trans, diag, n, ap, x, incx)
ZTPMV
subroutine ztptri(uplo, diag, n, ap, info)
ZTPTRI