<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def derivative(self, x, der=1):
 """ return the derivative a an array of input values x : the inputs der : the order of derivative """

        from scipy.interpolate import splev
        return splev(x, self._sp, der=der)