27 Subroutine ludcmp(A,N,INDX,D,CODE)
29 parameter(nmax=100,tiny=1.5d-16)
30 INTEGER :: code, d, indx(n)
31 REAL :: amax,dum, sum, a(n,n),vv(nmax)
39 IF (dabs(a(i,j)).GT.amax) amax=dabs(a(i,j))
52 sum = sum - a(i,k)*a(k,j)
60 sum = sum - a(i,k)*a(k,j)
81 IF(dabs(a(j,j)) < tiny) a(j,j) = tiny
104 Subroutine lubksb(A,N,INDX,B)
105 REAL*8 sum, a(n,n),b(n)
116 sum = sum - a(i,j)*b(j)
118 ELSE IF(sum.NE.0.d0)
THEN 128 sum = sum - a(i,j)*b(j)
134 END subroutine lubksb