Interpolation ============= Methods for constructing a function that passes through a given set of data points. English API (Aliases) --------------------- .. autofunction:: numpyy.lagrange .. autofunction:: numpyy.newton_interpolation .. autofunction:: numpyy.newton_polynomial .. autofunction:: numpyy.divided_differences .. autofunction:: numpyy.interpolation_error .. autofunction:: numpyy.vandermonde_matrix .. autofunction:: numpyy.newton_basis .. autofunction:: numpyy.chebyshev_nodes .. autofunction:: numpyy.runge_function Backend French API ------------------ .. automodule:: numpyy.interpolation :members: Example: Newton Interpolation ----------------------------- .. code-block:: python import numpyy as ny x_pts = [0, 1, 2] y_pts = [1, 3, 2] # Compute Newton polynomial poly = ny.newton_interpolation(x_pts, y_pts) print(poly(0.5))