Thiele's interpolation formula

Thiele's interpolation formula

In mathematics, Thiele's interpolation formula is an interpolation formula for a function "f"(•) of a single variable, due to the Danish mathematician Thorvald Nicolai Thiele. It is expressed as a continued fraction, where ρ represents the reciprocal difference:

: f(x) = f(x_1) + cfrac{x-x_1}{ ho(x_1,x_2) + cfrac{x-x_2}{ ho_2(x_1,x_2,x_3) - f(x_1) + cfrac{x-x_3}{ ho_3(x_1,x_2,x_3,x_4) - ho(x_1,x_2) + cdots}

Here is a version of Thiele interpolation in Algol 68:

¢ The MODE of lx and ly here should really be a UNION of "something REAL", "something COMPLex", and "something SYMBOLIC" ... ¢ PROC thiele:=( [] REAL lx,ly, REAL x) REAL: BEGIN [] REAL xx=lx [@1] ,yy=ly [@1] ; INT n=UPB xx; IF UPB yy=n THEN ¢ Assuming that the values of xx are distinct ... ¢ [0:n-1,1:n] REAL p; p [0,] :=yy [] ; FOR i TO n-1 DO p [1,i] :=(xx [i] -xx [1+i] )/(p [0,i] -p [0,1+i] ) OD; FOR i FROM 2 TO n-1 DO FOR j TO n-i DO p [i,j] :=(xx [j] -xx [j+i] )/(p [i-1,j] -p [i-1,j+1] )+p [i-2,j+1] OD OD; REAL a:=0; FOR i FROM n-1 BY -1 TO 2 DO a:=(x-xx [i] )/(p [i,1] -p [i-2,1] +a) OD; y [1] +(x-xx [1] )/(p [1,1] +a) ELSE error ¢ Unequal length arrays supplied ¢ FI END;

Note that, although it works in most cases, it is sensitive to input values, especially those due to equally spaced abscissæ. (Essentially, in such a case, it may reduce to the ratio of two polynomials, which may have factors in common - thus yielding a 0/0 form.)

References

*


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Thorvald N. Thiele — Thorvald Nicolai Thiele (December 24, 1838 ndash; September 26, 1910) was a Danish astronomer, actuary and mathematician, most notable for his work in statistics, interpolation and the three body problem. He was the first to study cumulants and… …   Wikipedia

  • List of mathematics articles (T) — NOTOC T T duality T group T group (mathematics) T integration T norm T norm fuzzy logics T schema T square (fractal) T symmetry T table T theory T.C. Mits T1 space Table of bases Table of Clebsch Gordan coefficients Table of divisors Table of Lie …   Wikipedia

  • Convergence of Fourier series — In mathematics, the question of whether the Fourier series of a periodic function converges to the given function is researched by a field known as classical harmonic analysis, a branch of pure mathematics. Convergence is not necessarily a given… …   Wikipedia

  • Inventions in medieval Islam — A significant number of inventions were developed in the medieval Islamic world, a geopolitical region that has at various times extended from Al Andalus and Africa in the west to the Indian subcontinent and Malay Archipelago in the east.… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”