Content deleted Content added
Undid revision 743613824 by 137.195.120.235 (talk) |
Undid revision 743614772 by 137.195.120.235 (talk) |
||
Line 6:
\mathbf{s}(u_{p-1})=\mathbf{d}_{p-1}</math>. But this is not quite the case: in general we are satisfied that the curve "approximates" the control polygon. We assume that ''u<sub>0</sub>, ..., u<sub>p-1</sub>'' are given to us along with <math>\mathbf{d}_0, \mathbf{d}_1, \dots, \mathbf{d}_{p-1}</math>.
One approach to solve this problem is by [[spline (mathematics)|spline]]s. A spline is a curve that is a piecewise ''n<sup>th</sup>'' degree polynomial. This means that, on any interval ''<nowiki>[</nowiki>u<sub>i</sub>, u<sub>i+1</sub>
De Boor's algorithm is an algorithm which, given ''u<sub>0</sub>, ..., u<sub>p-1</sub>'' and <math>\mathbf{d}_0, \mathbf{d}_1, \dots, \mathbf{d}_{p-1}</math>, finds the value of spline curve <math>\mathbf{s}(x)</math> at a point ''x''. It uses [[Big O notation|O]](n<sup>2</sup>) + [[Big O notation|O]](n + p) operations where ''n'' is the degree and ''p'' the number of control points of ''s''.
|