De Boor's algorithm: Difference between revisions

Content deleted Content added
Line 29:
Suppose <math> x \in [u_{\ell},u_{\ell+1}] </math> and <math> \mathbf{d}_i^{[0]} = \mathbf{d}_i </math> for <math>i = \ell-n, \dots, \ell</math>.
Now calculate
:<math> \mathbf{d}_i^{[k]} = (1- \alpha_{k,i}) \mathbf{d}_{i-1}^{[k-1]} + (1-\alpha_{k,i}) \mathbf{d}_i^{[k-1]}; \qquad k=1,\dots,n; \quad i=\ell-n+k,\dots,\ell </math>
with
:<math> \alpha_{k,i} = \frac{x-u_i}{u_{i+n+1-k}-u_i}. </math>