92 SUBROUTINE cpptri( UPLO, N, AP, INFO )
110 parameter( one = 1.0e+0 )
114 INTEGER J, JC, JJ, JJN
120 EXTERNAL lsame, cdotc
133 upper = lsame( uplo,
'U' )
134 IF( .NOT.upper .AND. .NOT.lsame( uplo,
'L' ) )
THEN
136 ELSE IF( n.LT.0 )
THEN
140 CALL xerbla(
'CPPTRI', -info )
151 CALL ctptri( uplo,
'Non-unit', n, ap, info )
163 $
CALL chpr(
'Upper', j-1, one, ap( jc ), 1, ap )
164 ajj = real( ap( jj ) )
165 CALL csscal( j, ajj, ap( jc ), 1 )
175 ap( jj ) = real( cdotc( n-j+1, ap( jj ), 1, ap( jj ), 1 ) )
177 $
CALL ctpmv(
'Lower',
'Conjugate transpose',
'Non-unit',
178 $ n-j, ap( jjn ), ap( jj+1 ), 1 )
subroutine xerbla(srname, info)
subroutine chpr(uplo, n, alpha, x, incx, ap)
CHPR
subroutine cpptri(uplo, n, ap, info)
CPPTRI
subroutine csscal(n, sa, cx, incx)
CSSCAL
subroutine ctpmv(uplo, trans, diag, n, ap, x, incx)
CTPMV
subroutine ctptri(uplo, diag, n, ap, info)
CTPTRI