I have just printed the matrix of size n*n
Code is (Assume that all matrices are already defined):
public class ReadContents {
public static void main(String args[]) {
System.out.println();
System.out.println("The Matrix Is:");
double mat[][]=new double[col][col];
for(k=0;k<col;k++) {
for(p=0;p<col;p++) {
mat[k][p]=SubMULTIPL_1[k][p]-ADD[k][p];
System.out.printf("%2.2f ",mat[k][p]);
}
System.out.println();
}
}
But, I am having the problem of finding the inverse of n*n square matrix
where n=1,2,3..........infinite.
Any help would be appreciated.