@spiceErrorCheck<EOL>def polyds(coeffs, deg, nderiv, t):
coeffs = stypes.toDoubleVector(coeffs)<EOL>deg = ctypes.c_int(deg)<EOL>p = stypes.emptyDoubleVector(nderiv + <NUM_LIT:1>)<EOL>nderiv = ctypes.c_int(nderiv)<EOL>t = ctypes.c_double(t)<EOL>libspice.polyds_c(ctypes.byref(coeffs), deg, nderiv, t, p)<EOL>return stypes.cVectorToPython(p)<EOL>
Compute the value of a polynomial and it's first
n derivatives at the value t.

https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/polyds_c.html

:param coeffs: Coefficients of the polynomial to be evaluated.
:type coeffs: N-Element Array of floats
:param deg: Degree of the polynomial to be evaluated.
:type deg: int
:param nderiv: Number of derivatives to compute.
:type nderiv: int
:param t: Point to evaluate the polynomial and derivatives
:type t: float
:return: Value of polynomial and derivatives.
:rtype: nderiv-Element Array of floats