docs: def chbder(cp, degp, x2s, x, nderiv):
      """
      Given the coefficients for the Chebyshev expansion of a
      polynomial, this returns the value of the polynomial and its
      first nderiv derivatives evaluated at the input X.
      
      https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/chbder_c.html
      
      :param cp: degp+1 Chebyshev polynomial coefficients.
      :type cp: Array of floats
      :param degp: Degree of polynomial.
      :type degp: int
      :param x2s: Transformation parameters of polynomial.
      :type x2s: Array of floats
      :param x: Value for which the polynomial is to be evaluated
      :type x: float
      :param nderiv: The number of derivatives to compute
      :type nderiv: int
      :return: Array of the derivatives of the polynomial
      :rtype: Array of floats
      """
      cp = stypes.toDoubleVector(cp)
      degp = ctypes.c_int(degp)
      x2s = stypes.toDoubleVector(x2s)
      x = ctypes.c_double(x)
      partdp = stypes.emptyDoubleVector(3*(nderiv+1))
      dpdxs = stypes.emptyDoubleVector(nderiv+1)
      nderiv = ctypes.c_int(nderiv)
      libspice.chbder_c(cp, degp, x2s, x, nderiv, partdp, dpdxs)
      return stypes.cVectorToPython(dpdxs)