I have a problem in this method(it is not complete but the problem is on those lines). The thing is that I have a matrix "x", but after going through the absMatriz function, it changes its values. I would like to know how to keep my x matrix, I have tried saving it in another matrix "www" but it does not work.
public Matriz[] problema(Matriz x){
Matriz www=new Matriz(x.m,x.n); //the parameters are the dimensions of the matrix
www= x;
double mm= max(absMatriz(x));
return www;
}