.. _sphx_glr_api_gallery_numerical_analysis_interpolation:
Interpolation
-------------
Lagrange and Newton divided-difference polynomial interpolation: the same
unique interpolating polynomial, built and evaluated two different ways.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/numerical_analysis/interpolation/images/thumb/sphx_glr_plot_01_lagrange_newton_thumb.png
:alt:
:doc:`/api/gallery/numerical_analysis/interpolation/plot_01_lagrange_newton`
.. raw:: html
Lagrange vs. Newton divided-difference interpolation
.. raw:: html
.. only:: html
.. image:: /api/gallery/numerical_analysis/interpolation/images/thumb/sphx_glr_plot_02_hermite_interpolation_thumb.png
:alt:
:doc:`/api/gallery/numerical_analysis/interpolation/plot_02_hermite_interpolation`
.. raw:: html
Hermite interpolation: matching slopes as well as values
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/numerical_analysis/interpolation/plot_01_lagrange_newton
/api/gallery/numerical_analysis/interpolation/plot_02_hermite_interpolation