125 SUBROUTINE cgttrf( N, DL, D, DU, DU2, IPIV, INFO )
137 COMPLEX d( * ), dl( * ), du( * ), du2( * )
144 parameter( zero = 0.0e+0 )
148 COMPLEX fact, temp, zdum
154 INTRINSIC abs, aimag, real
160 cabs1( zdum ) = abs(
REAL( ZDUM ) ) + abs( aimag( zdum ) )
167 CALL
xerbla(
'CGTTRF', -info )
186 IF( cabs1( d( i ) ).GE.cabs1( dl( i ) ) )
THEN
190 IF( cabs1( d( i ) ).NE.zero )
THEN
191 fact = dl( i ) / d( i )
193 d( i+1 ) = d( i+1 ) - fact*du( i )
199 fact = d( i ) / dl( i )
204 d( i+1 ) = temp - fact*d( i+1 )
206 du( i+1 ) = -fact*du( i+1 )
212 IF( cabs1( d( i ) ).GE.cabs1( dl( i ) ) )
THEN
213 IF( cabs1( d( i ) ).NE.zero )
THEN
214 fact = dl( i ) / d( i )
216 d( i+1 ) = d( i+1 ) - fact*du( i )
219 fact = d( i ) / dl( i )
224 d( i+1 ) = temp - fact*d( i+1 )
232 IF( cabs1( d( i ) ).EQ.zero )
THEN