code: public boolean isIdentical(T a, double tol) {
          if( a.getType() != getType() )
              return false;
          return ops.isIdentical(mat,a.mat,tol);
      }
docs: Checks to see if matrix 'a' is the same as this matrix within the specified
  tolerance.
  
  @param a The matrix it is being compared against.
  @param tol How similar they must be to be equals.
  @return If they are equal within tolerance of each other.