code: def kolmognp(n, x):
      """Computes the PDF for the two-sided Kolmogorov-Smirnov distribution.
  
      Parameters
      ----------
      n : integer, array_like
          the number of samples
      x : float, array_like
          The K-S statistic, float between 0 and 1
  
      Returns
      -------
      pdf : ndarray
          The PDF at the specified locations
  
      The return value has shape the result of numpy broadcasting n and x.
      """
      it = np.nditer([n, x, None])
      for _n, _x, z in it:
          if np.isnan(_n):
              z[...] = _n
              continue
          if int(_n) != _n:
              raise ValueError(f"n is not integral: {_n}")
          z[...] = _kolmogn_p(int(_n), _x)
      result = it.operands[-1]
      return result
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/_ksstats.py
imports: import numpy
  import scipy.special
  import scipy.special._ufuncs
  import scipy.misc
label_desc: Use image node_id 12 for calling a global function with example usage: kolmognp(n, x) and returns: result