**lebesgue_test**,
a FORTRAN90 code which
calls lebesgue(), 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, and which uses gnuplot to
make plots of the Lebesgue function.

The computer code and data files described and made available on this web page are distributed under the MIT license

lebesgue, a FORTRAN90 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, and which uses gnuplot() to make plots of the Lebesgue function.

- lebesgue_test.f90, a sample calling program.
- lebesgue_test.sh, a sample calling program.
- lebesgue_test.txt, the output file.

The test programs create plots of the Lebesgue function for specific sizes of the point sets.

- chebyshev1.png
- chebyshev2.png
- chebyshev3.png
- chebyshev4.png
- equidistant1.png
- equidistant2.png
- equidistant3.png
- fejer1.png
- fejer2.png