code: def _report_nonhermitian(M, name):
      """
      Report if `M` is not a Hermitian matrix given its type.
      """
      from scipy.linalg import norm
  
      md = M - M.T.conj()
  
      nmd = norm(md, 1)
      tol = 10 * np.finfo(M.dtype).eps
      tol = max(tol, tol * norm(M, 1))
      if nmd > tol:
          print(
              "matrix %s of the type %s is not sufficiently Hermitian:"
              % (name, M.dtype)
          )
          print("condition: %.e < %e" % (nmd, tol))
  
file_path: catboost/contrib/python/scipy/py3/scipy/sparse/linalg/eigen/lobpcg/lobpcg.py
imports: import numpy
  from scipy.linalg import inv, eigh, cho_factor, cho_solve, cholesky, LinAlgError
  from scipy.sparse.linalg import aslinearoperator
  from numpy import block
label_desc: Use image node_id 1 for calling a global function with example usage: _report_nonhermitian(M, name) without return types