User Guide 027: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
l<sub>j</sub>(x) = Lagrange basis polynomials given by
l<sub>j</sub>(x) = Lagrange basis polynomials given by


{{Equation|<math> l_j (x) = \Pi \frac{x - x_k}{x_j - x_k} </math>|16-2}}
{{Equation|<math> l_j (x) = \prod_{1 < k \leq n+1 \ k\neq j} \frac{x - x_k}{x_j - x_k} </math>|16-2}}


The Lagrange basis polynomials are such that
The Lagrange basis polynomials are such that

Revision as of 13:42, 4 May 2015

16 Appendix F: Piecewise Lagrangian Polynomial Interpolation

Piecewise polynomials in Lagrange form are given by

  (16-1)

where

yj= interpolation data values corresponding to xj

n = order or the interpolation polynomial

lj(x) = Lagrange basis polynomials given by

  (16-2)

The Lagrange basis polynomials are such that

  ( 16-3)

One advantage of using Lagrange polynomials is that the interpolation weights (Lagrange basis functions lj ) are not a function of yj . This prop-erty is useful when many interpolations are needed for the same xj but different yj such as in the case of interpolating spatial datasets in time.