User Guide 027: Difference between revisions

From CIRPwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
Piecewise polynomials in Lagrange form are given by
Piecewise polynomials in Lagrange form are given by


{{Equation|<math>l(x) = \Sigma_{j=1}^{n+1} y_j l_j (x)</math>|16-1}}
{{Equation|<math>l(x) = \sum_{j=1}^{n+1} y_j l_j (x)</math>|16-1}}


where
where

Revision as of 13:08, 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.