// test_crout.java solve linear system of equations // |A|x = y solve for x method: Crout public class test_crout { public test_crout() { System.out.println("test_crout.java running"); for(int n=4; n<=128; n=2*n) // total number of terms { double A[][] = new double[n][n]; double AA[][] = new double[n][n]; // A destroyed double y[] = new double[n]; double yy[] = new double[n]; // c destroyed double x[] = new double[n]; double x_soln[] = new double[n]; double sum, err, sumerr; boolean debug = false; // build first test case if(n==4) System.out.println("random matrix and solution"); for(int i=0; i