Spline Toolbox | ![]() ![]() |
Approximation Space
We seek an approximate solution by collocation from piecewise cubics with a suitable break sequence; for instance,
Since cubics are of order 4, we have
and since requires two smoothness conditions across each interior break, we want knot multiplicity = 4-2 = 2, hence use the knot sequence
which we could also have obtained as knots = augknt(breaks,4,2)
. This gives a quadruple knot at both 0 and 1, which is consistent with the fact that we have cubics, i.e., have order 4.
![]() | Problem | Discretization | ![]() |