code: def kvp(v, z, n=1):
      """Compute nth derivative of real-order modified Bessel function Kv(z)
  
      Kv(z) is the modified Bessel function of the second kind.
      Derivative is calculated with respect to `z`.
  
      Parameters
      ----------
      v : array_like of float
          Order of Bessel function
      z : array_like of complex
          Argument at which to evaluate the derivative
      n : int
          Order of derivative.  Default is first derivative.
  
      Returns
      -------
      out : ndarray
          The results
  
      Examples
      --------
      Calculate multiple values at order 5:
  
      >>> from scipy.special import kvp
      >>> kvp(5, (1, 2, 3+5j))
      array([-1.84903536e+03+0.j        , -2.57735387e+01+0.j        ,
             -3.06627741e-02+0.08750845j])
  
  
      Calculate for a single value at multiple orders:
  
      >>> kvp((4, 4.5, 5), 1)
      array([ -184.0309,  -568.9585, -1849.0354])
  
      Notes
      -----
      The derivative is computed using the relation DLFM 10.29.5 [2]_.
  
      References
      ----------
      .. [1] Zhang, Shanjie and Jin, Jianming. "Computation of Special
             Functions", John Wiley and Sons, 1996, chapter 6.
             https://people.sc.fsu.edu/~jburkardt/f_src/special_functions/special_functions.html
      .. [2] NIST Digital Library of Mathematical Functions.
             https://dlmf.nist.gov/10.29.E5
  
      """
      n = _nonneg_int_or_fail(n, "n")
      if n == 0:
          return kv(v, z)
      else:
          return (-1) ** n * _bessel_diff_formula(v, z, n, kv, 1)
  
imports: import operator
  import numpy
  import math
  from numpy import pi, asarray, floor, isscalar, iscomplex, real, imag, sqrt, where, mgrid, sin, place, issubdtype, extract, inexact, nan, zeros, sinc
  from .None import _ufuncs
  from ._ufuncs import mathieu_a, mathieu_b, iv, jv, gamma, psi, hankel1, hankel2, yv, kv, ndtri, poch, binom, hyp0f1
  from .None import specfun
  from .None import orthogonal
  from ._comb import _comb_int
label_desc: Use image node_id 15 for calling a global function with example usage: kvp(v, z, n) and returns: kv, unknown