barycentric_interp_1d_test, a Fortran90 code which calls barycentric_interp_1d(), which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i). Because a barycentric formulation is used, polynomials of very high degree can safely be used.
The information on this web page is distributed under the MIT license.
barycentric_interp_1d, a Fortran90 code which defines and evaluates the barycentric Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i). The barycentric approach means that very high degree polynomials can safely be used.