public void logEquals(){
  for (int i=0; i < A.length; i++)   for (int j=0; j < A[i].length; j++)   A[i][j]=Math.log(A[i][j]);
}

public void logEquals ( ) { for ( int i = 0 ; i < A . length ; i ++ ) for ( int j = 0 ; j < A [ i ] . length ; j ++ ) A [ i ] [ j ] = Math . log ( A [ i ] [ j ] ) ; }
x . logequals ( ) calculates the natural logarithem of each element of the matrix . the result is stored in this matrix object again .
