/* test_inverse.c tough matrix to invert accurately */ #include #include "inverse.h" #define abs(a) ((a)<0.0?(-(a)):(a)) static double AA[1048576]; static double AI[1048576]; static double II[1048576]; int main(int argc, char * argv[]) { int i, j, k, n; double err; printf("test_inverse.c on tough matrix to invert \n"); n = 1; while(n < 1024) { n=n*2; printf("initializing big matrix, n=%d, n*n=%d \n", n, n*n); for(i=0; i