lagrange_interp_2d_test, a C code which calls lagrange_interp_2d() to define and evaluate the Lagrange polynomial p(x,y) which interpolates a set of data depending on a 2D argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).
The computer code and data files described and made available on this web page are distributed under the MIT license
lagrange_interp_2d, a C code which defines and evaluates the Lagrange polynomial p(x,y) which interpolates a set of data depending on a 2D argument that was evaluated on a product grid, so that p(x(i),y(j)) = z(i,j).