Neville's Algorithm

Neville's algorithm is an interpolation algorithm which proceeds by first fitting a polynomial of degree 0 through the point (x_k,y_k) for k=1, ..., n, i.e., P_k(x)=y_k. A second iteration is then performed in which P_i and P_(i+1) are combined to fit through pairs of points, yielding P_(12), P_(23), .... The procedure is repeated, generating a "pyramid" of approximations until the final result is reached

 P_1; P_2; P_3; P_4P_(12); P_(23); P_(34)P_(123); P_(234)P_(1234).

The final result is

 P_(i(i+1)...(i+m))=((x-x_(i+m))P_(i(i+1)...(i+m-1)))/(x_i-x_(i+m))+((x_i-x)P_((i+1)(i+2)...(i+m)))/(x_i-x_(i+m)).

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computable Document Format »

The format that makes Demonstrations (and any information) easy to share and interact with.

STEM initiative »

Programs & resources for educators, schools & students.

Computerbasedmath.org »

Join the initiative for modernizing math education.