I am trying to take the derivative of an interpolated function. I am given the function values and the derivatives at some irregular points. Here is my minimal working example to reproduce the error:
i = Interpolation[Table[{{2 t}, Sin[t], Cos[t]}, {t, 0, 4, 0.01}]]
Plot[i[t], {t, 0, 4}]
Plot[i'[t], {t, 0, 4}]
Apparently the interpolation is working, but not the derivative. Is there something I am doing wrong or is this a bug?