lebesgue_test, an Octave code which calls lebesgue(), which plots the Lebesgue function, and estimates the Lebesgue constant, which measures the maximum magnitude of the potential error of Lagrange polynomial interpolation.
The computer code and data files described and made available on this web page are distributed under the MIT license
lebesgue, an Octave code which is given a set of nodes in 1D, and plots the Lebesgue function, and estimates the Lebesgue constant, which measures the maximum magnitude of the potential error of Lagrange polynomial interpolation.
The test programs create plots of the Lebesgue function for specific sizes of the point sets.