28 subroutine cgltri(ndone,a,b,shiftr,shifti)
34 double precision shiftr,shifti
39 double precision amp,phase,tr,ti,trhalf,tihalf
55 amp=sqrt(sqrt(tr*tr+ti*ti))
57 phase=0.5d0*datan2(ti,tr)
60 if (abs(trhalf).lt.
rndoff) trhalf=0.0d0
61 if (abs(tihalf).lt.
rndoff) tihalf=0.0d0
67 b(1,j)=c(1,j)*trhalf-c(2,j)*tihalf
68 b(2,j)=c(1,j)*tihalf+c(2,j)*trhalf
69 if (b(1,j).lt.0.0d0)
then
73 a(1,i)=c(1,i)+c(1,j)*tr-c(2,j)*ti
74 a(2,i)=c(2,i)+c(1,j)*ti+c(2,j)*tr
subroutine cgltri(ndone, a, b, shiftr, shifti)
integer, parameter mxstep
double precision, parameter rndoff