code: def h2vp(v, z, n=1):
      """Compute nth derivative of Hankel function H2v(z) with respect to `z`.
  
      Parameters
      ----------
      v : array_like
          Order of Hankel function
      z : array_like
          Argument at which to evaluate the derivative. Can be real or
          complex.
      n : int, default 1
          Order of derivative
  
      Returns
      -------
      scalar or ndarray
          Values of the derivative of the Hankel function.
  
      Notes
      -----
      The derivative is computed using the relation DLFM 10.6.7 [2]_.
  
      References
      ----------
      .. [1] Zhang, Shanjie and Jin, Jianming. "Computation of Special
             Functions", John Wiley and Sons, 1996, chapter 5.
             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.6.E7
  
      """
      n = _nonneg_int_or_fail(n, "n")
      if n == 0:
          return hankel2(v, z)
      else:
          return _bessel_diff_formula(v, z, n, hankel2, -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 18 for calling a global function with example usage: h2vp(v, z, n) and returns: hankel2, _bessel_diff_formula