109 parameter( zero = 0.0e+0 )
119 INTRINSIC aimag, cmplx, mod, real
128 CALL xerbla(
'CPTTRF', -info )
141 IF( d( i ).LE.zero )
THEN
146 eii = aimag( e( i ) )
149 e( i ) = cmplx( f, g )
150 d( i+1 ) = d( i+1 ) - f*eir - g*eii
153 DO 110 i = i4+1, n - 4, 4
158 IF( d( i ).LE.zero )
THEN
166 eii = aimag( e( i ) )
169 e( i ) = cmplx( f, g )
170 d( i+1 ) = d( i+1 ) - f*eir - g*eii
172 IF( d( i+1 ).LE.zero )
THEN
179 eir = real( e( i+1 ) )
180 eii = aimag( e( i+1 ) )
183 e( i+1 ) = cmplx( f, g )
184 d( i+2 ) = d( i+2 ) - f*eir - g*eii
186 IF( d( i+2 ).LE.zero )
THEN
193 eir = real( e( i+2 ) )
194 eii = aimag( e( i+2 ) )
197 e( i+2 ) = cmplx( f, g )
198 d( i+3 ) = d( i+3 ) - f*eir - g*eii
200 IF( d( i+3 ).LE.zero )
THEN
207 eir = real( e( i+3 ) )
208 eii = aimag( e( i+3 ) )
211 e( i+3 ) = cmplx( f, g )
212 d( i+4 ) = d( i+4 ) - f*eir - g*eii
subroutine xerbla(srname, info)
subroutine cpttrf(n, d, e, info)
CPTTRF