// Cinvert.java Cinvert(A[][]) in place public class Cinvert { Complex Czero = new Complex(0.0,0.0); Cinvert(Complex A[][]) { int n = A.length; int row[] = new int[n]; int col[] = new int[n]; Complex temp[] = new Complex[n]; int hold , I_pivot , J_pivot; Complex pivot; double abs_pivot; if(A[0].length!=n) { System.out.println("Error inverse, inconsistent array sizes."); } // set up row and column interchange vectors for(int k=0; k abs_pivot) { I_pivot = i ; J_pivot = j ; pivot = A[row[i]][col[j]] ; } } } if(pivot.abs() < 1.0E-12) { System.out.println("Matrix near singular! at row "+k+", pivot="+pivot); for(int i=k; i