docs: public static boolean isIdentical(DMatrix a, DMatrix b , double tol ) {
          if( a.getNumRows() != b.getNumRows() || a.getNumCols() != b.getNumCols() ) {
              return false;
          }
          if( tol < 0 )
              throw new IllegalArgumentException("Tolerance must be greater than or equal to zero.");
  
          final int numRows = a.getNumRows();
          final int numCols = a.getNumCols();
  
          for (int row = 0; row < numRows; row++) {
              for (int col = 0; col < numCols; col++) {
                  if( !UtilEjml.isIdentical(a.unsafe_get(row,col),b.unsafe_get(row,col), tol))
                      return false;
              }
          }
          return true;
      }