diff options
author | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-08-28 11:42:25 +0000 |
---|---|---|
committer | jthorn <jthorn@df1f8a13-aa1d-4dd4-9681-27ded5b42416> | 2002-08-28 11:42:25 +0000 |
commit | 99f3fe1eceecccb7d9487e8ecdb171c7d6865428 (patch) | |
tree | 23035f3a6053e32549b2537be7db6dcc26855a87 /src/GeneralizedPolynomial-Uniform/Hermite/1d.coeffs/1d.cube.order3/coeff-dx.compute.c | |
parent | 288605bf7151fda07125fd0bc0e3571ed8bb5516 (diff) |
add Maple code and C skeletons for Hermite polynomial interpolation
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalInterp/trunk@101 df1f8a13-aa1d-4dd4-9681-27ded5b42416
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Hermite/1d.coeffs/1d.cube.order3/coeff-dx.compute.c')
-rw-r--r-- | src/GeneralizedPolynomial-Uniform/Hermite/1d.coeffs/1d.cube.order3/coeff-dx.compute.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Hermite/1d.coeffs/1d.cube.order3/coeff-dx.compute.c b/src/GeneralizedPolynomial-Uniform/Hermite/1d.coeffs/1d.cube.order3/coeff-dx.compute.c new file mode 100644 index 0000000..4300a83 --- /dev/null +++ b/src/GeneralizedPolynomial-Uniform/Hermite/1d.coeffs/1d.cube.order3/coeff-dx.compute.c @@ -0,0 +1,11 @@ +fp t12; + t12 = x*x; + coeff_dx_m2 = RATIONAL(-1.0,3.0)*x+RATIONAL(1.0,12.0)+RATIONAL(1.0,4.0)* +t12; + coeff_dx_m1 = RATIONAL(-2.0,3.0)+RATIONAL(5.0,2.0)*x+RATIONAL(-7.0,4.0)* +t12; + coeff_dx_0 = RATIONAL(-14.0,3.0)*x+RATIONAL(4.0,1.0)*t12; + coeff_dx_p1 = RATIONAL(-4.0,1.0)*t12+RATIONAL(10.0,3.0)*x+RATIONAL(2.0, +3.0); + coeff_dx_p2 = RATIONAL(7.0,4.0)*t12+RATIONAL(-1.0,12.0)-x; + coeff_dx_p3 = RATIONAL(1.0,6.0)*x+RATIONAL(-1.0,4.0)*t12; |