code: def kernel_matrix(x, kernel_func, out):
      """Evaluate RBFs, with centers at `x`, at `x`."""
      for i in range(x.shape[0]):
          for j in range(i + 1):
              out[i, j] = kernel_func(np.linalg.norm(x[i] - x[j]))
              out[j, i] = out[i, j]
  
file_path: catboost/contrib/python/scipy/py3/scipy/interpolate/_rbfinterp_pythran.py
imports: import numpy
label_desc: Use image node_id 11 for calling a global function with example usage: kernel_matrix(x, kernel_func, out) without return types