A = InterpolatingFunction.Spline({1,2,3},{1,4,9}) B = InterpolatingFunction.Spline({1,2,3},{1,4,9},0,0) -- derivatives vanish at the endpoint