aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c
new file mode 100644
index 0000000..4d0de20
--- /dev/null
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange/1d.coeffs/1d.cube.order2.smooth0/coeff-I.compute.c
@@ -0,0 +1,9 @@
+fp t3,
+ t2,
+ t1;
+ t3 = x*x;
+ t2 = RATIONAL(1.0,2.0);
+ t1 = t2*t3;
+ coeff_I_m1 = RATIONAL(-1.0,2.0)*x+t1;
+ coeff_I_0 = RATIONAL(1.0,1.0)-t3;
+ coeff_I_p1 = t2*x+t1;