// time_crout1.c single subscript #include #include #include #include "crout1.h" #include "udrnrt.h" #define N 4096 static double A[N*N]; // destroyed static double AA[N*N]; // for checking static double X[N]; static double X_soln[N]; static double Y[N]; static double YY[N]; #undef abs #define abs(a) ((a)<0.0?(-(a)):(a)) #undef max #define max(a,b) ((a)>(b)?(a):(b)) void init_matrix(int n) { double sum; int i, j; for(i=0; i