Given some coefficients, return a the derivative of a B-spline.

def derivatives_factory(cls, coef, degree, knots, ext, **kwargs):
        """
        Given some coefficients, return a the derivative of a B-spline.

        """
        return cls._basis_spline_factory(coef, degree, knots, 1, ext)