Nonlinear Regression With R Pdf, A cubic spline on [a; b] is a NCS if its second and third derivatives are zero at a and b.