I’m currently working on a question for a natural cubic spline where the x values are not equidistant. Putting h0, h1,... hn into the equations to find bn and dn are fine but when constructing a tridiagonal system = 3/h [given matrix] to find Cn, I am unsure of what the h value should be here
thanks
thanks