30 integer,
parameter :: NMAX=10
31 double precision,
parameter :: TINY=1.5d-16
32 double precision :: AMAX,DUM, SUM, A(N,N),VV(NMAX)
33 INTEGER :: CODE, D, INDX(N)
36 integer :: I, J, K, IMAX
43 IF (dabs(a(i,j)).GT.amax) amax=dabs(a(i,j))
56 sum = sum - a(i,k)*a(k,j)
64 sum = sum - a(i,k)*a(k,j)
85 IF(dabs(a(j,j)) < tiny) a(j,j) = tiny
110 double precision :: SUM, A(N,N),B(N)
111 INTEGER :: INDX(N), N
113 integer :: II, LL, I, J
123 sum = sum - a(i,j)*b(j)
125 ELSE IF(sum.NE.0.d0)
THEN
135 sum = sum - a(i,j)*b(j)
subroutine ludcmp(A, N, INDX, D, CODE)
subroutine lubksb(A, N, INDX, B)