Definition

Suppose that knots are . Then, the basis functions for order-M spline are defined as: where
Examples
For cubic Polynomials with two knots , the basis functions are:
Facts
Order of piecewise polynomials
- constant: 1
- linear: 2
- quadratic: 3
- cubic: 4
