diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-08-18 15:12:49 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-08-18 15:12:49 +0000 |
commit | 15c98b3abee2525b24ca89932256ff2cda63c9bc (patch) | |
tree | fba7c114f0b5e7ffdad3e60254fd0e8dd1e42f97 /src/GeneralizedPolynomial-Uniform/interpolate.maple | |
parent | 7be0a94bec4b4e89c433e5380fce2cf84e5e0681 (diff) |
This commit reorganizes the Maple scripts which generate the interpolation
coefficients, and the coefficient files themselves, to properly support
multiple interpolation operators, and adds some skeleton support for
Hermite interpolation. I will add full support for Hermite in a future
checkin.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@81 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/interpolate.maple')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/interpolate.maple | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/interpolate.maple b/src/GeneralizedPolynomial-Uniform/interpolate.maple index 6cd24c5..90feede 100644 --- a/src/GeneralizedPolynomial-Uniform/interpolate.maple +++ b/src/GeneralizedPolynomial-Uniform/interpolate.maple @@ -1,9 +1,9 @@ -# interpolate.maple -- compute generalized interpolation formulas/coefficients +# interpolate.maple -- compute interpolation formulas/coefficients # $Id$ # # <<<representation of numbers, data values, etc>>> -# polynomial_interpolant - compute polynomial interpolant +# Lagrange polynomial_interpolant - compute Lagrange polynomial interpolant # coeff_as_lc_of_data - coefficients of ... (linear combination of data) # # print_coeff__lc_of_data - print C code to compute coefficients @@ -41,7 +41,8 @@ ################################################################################ # -# This function computes a polynomial interpolant in any number of dimensions. +# This function computes a Lagrange polynomial interpolant in any +# number of dimensions. # # Arguments: # fn = The interpolation function. This should be a procedure in the @@ -61,7 +62,7 @@ # This function returns the interpolating polynomial, in the form of # an algebraic expression in the coordinates and the data values. # -polynomial_interpolant := +Lagrange_polynomial_interpolant := proc( fn::procedure, coeff_list::list(name), coord_list::list(name), posn_list::list(list(numeric)) |