Content deleted Content added
Undid revision 294460486 by 128.36.233.138 (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>)'', the curve must be equal to a polynomial of degree at most ''n''. It may be equal to
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>) operations. Notice that the running time of the algorithm depends only on degree ''n'' and not on the number of points ''p''.
|