how to find inverse of n*n 2d array in java

I reached upto code of printing the matrix as: Assume that matrix is square matrix where row=column code is: public class ReadContents{ public static void main(String args[]) System.out.println(); System.out.println("The matrix is :");

       for( k=0;k<row;k++)
      {
       for( p=0;p<row;p++)
    {

              System.out.printf("%2.2f  ",MAT[k][p]);
        }
System.out.println();
     }

Please help me to solve this .

View Answers









Related Tutorials/Questions & Answers:
Advertisements