Cubic Spline Tridiagonal Matrix, The cubic spline has the flexibility to satisfy general types of boundary conditions.