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
subroutine cgttrf(N, DL, D, DU, DU2, IPIV, INFO)
CGTTRF
subroutine xerbla(SRNAME, INFO)
XERBLA