I would like to interpolate a set of points in the real plane $(x_i,y_i), \ 1\leq i \leq n$ with specified end derivatives up to the second order. That is finding $f \in \mathcal{C}^2(\mathbb{R},\mathbb{R})$ such that $$ \forall 1 \leq i \leq n, \ f(x_i)=y_i $$ $$ f'(x_1^+) = a, \ f'(x_n^-) = b$$ $$ f''(x_1^+) = c, \ f''(x_n^-) = d$$
Using cubic splines I can either fix first or second order end derivatives but not both. Is there another family of interpolation functions that would solve my problem ?