vandermonde_approx_2d_test, a C++ code which calls vandermonde_approx_2d(), which finds P(X,Y), a polynomial approximant to Z which depends on two independent variables X and Y, by setting up and solving an overdetermined linear system involving the Vandermonde matrix.
The computer code and data files described and made available on this web page are distributed under the MIT license
vandermonde_approx_2d, a C++ code which finds a polynomial approximant p(x,y) to data z(x,y) of a 2D argument by setting up and solving an overdetermined linear system for the polynomial coefficients involving the vandermonde matrix.