28 ELSE IF (sum.NE.0.)
THEN
53 parameter(tiny=1.0e-20)
64 IF (abs(a(i,j)).GT.aamax) aamax=abs(a(i,j))
66 IF (aamax.EQ.0.) print *,
'SINGULAR MATRIX.'
91 IF (dum.GE.aamax)
THEN
107 IF(a(j,j).EQ.0.)a(j,j)=tiny
114 IF(a(n,n).EQ.0.)a(n,n)=tiny
subroutine ludcmp(A, N, NP, INDX)
Replaces an NxN matrix a with the LU decomposition.
subroutine lubksb(A, N, NP, INDX, B)
Solves a system of linear equations, follows call to ludcmp().