Overview
Polynomial interpolation builds a function that exactly matches known samples, but high-degree fits can oscillate strongly.
Finds a polynomial that passes through a set of sample points.
Compact metadata for implementation and discovery.
Polynomial interpolation builds a function that exactly matches known samples, but high-degree fits can oscillate strongly.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n^2)
Average
O(n^2)
Worst
O(n^3)
Space
O(n)
p(x_i) = y_i for every sample iDefines the polynomial by matching all provided samples.
Show the numeric approximation improving against the target function, matrix, or state.
Polynomial Interpolation should be used with the assumptions and tradeoffs of interpolation in mind.
What each reference supports for this entry.
Numerical methods reference covering interpolation formulas and practical polynomial interpolation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Lagrange interpolation is one polynomial interpolation form.
Newton interpolation is one polynomial interpolation form.