lagrange_nd_test
lagrange_nd_test,
a MATLAB code which
calls lagrange_nd(), which
is given a set of ND points X(*) in D-dimensional space, and constructs
a family of ND Lagrange polynomials P(*)(X), associating polynomial P(i)
with point X(i), such that, for 1 <= i <= ND,
P(i)(X(i)) = 1
but, if i =/= j
P(i)(X(j)) = 0
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Related Data and Programs:
lagrange_nd,
a MATLAB code which
implements several multivariate Lagrange interpolation schemes
developed by Tomas Sauer.
Source Code:
-
lagrange_nd_test01.m,
tests mono_between_enum();
-
lagrange_nd_test02.m,
tests mono_total_enum();
-
lagrange_nd_test03.m,
tests mono_upto_enum();
-
lagrange_nd_test04.m,
tests mono_between_next();
-
lagrange_nd_test05.m,
tests lagrange_complete() in 1D, on a regular grid;
-
lagrange_nd_test06.m,
tests lagrange_complete() in 2D, on a regular triangular grid;
-
lagrange_nd_test07.m,
tests lagrange_complete() in 3D, on a regular tetrahedral grid;
-
lagrange_nd_test08.m,
tests lagrange_partial()
on the 5 points of a dimension 2 level 1 CC sparse grid;
-
lagrange_nd_test09.m,
tests lagrange_partial()
on the 25 points of a dimension 3 level 2 CC sparse grid;
-
lagrange_nd_test10.m,
tests lagrange_partial2()
on the 13 points of a dimension 2 level 2 CC sparse grid,
and the evaluates the Lagrange interpolant there.
-
lagrange_nd_test11.m,
tests lagrange_partial3()
on the 65 points of a dimension 2 level 3 CC sparse grid,
and the evaluates the Lagrange interpolant there.
Last modified on 07 February 2019.