Let's consider

enter image description here

taken from


Let's call the red points as : point 1, point 2, point 3, point 4.

I'm wondering if the spline part (the blue smooth line) between the point 1 and 2 would depend on the points number 3 and 4.

Said differently, does the spline between two points depend on other points that are outside the interval between these two points ?

  • 1
    $\begingroup$ Yes. With usual third degree splines, the spline coefficients are the solution of a tridiagonal system involving all interpolation points. $\endgroup$ Commented Aug 25, 2021 at 11:49
  • $\begingroup$ @Jean-Claude Arbaut : thanks a lot $\endgroup$ Commented Aug 25, 2021 at 11:50

1 Answer 1


For sure the spline in one interval depends on the previous and next interval for cubic splines. See this wikipedia article on the algorithm to compute cubic splines.

  • $\begingroup$ It doesn’t just depend on the points adjacent to the interval, it depends on all points. $\endgroup$
    – bubba
    Commented Oct 24, 2021 at 8:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .