lagrange_interp_nd_test, a C++ code which calls lagrange_interp_nd(), which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on a M-dimensional argument that was evaluated on a product grid, so that p(x(i)) = z(i).
The computer code and data files described and made available on this web page are distributed under the MIT license
lagrange_interp_nd, a C++ code which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data depending on an M-dimensional argument x that was evaluated on a product grid, so that p(x(i)) = z(i).