aboutsummaryrefslogtreecommitdiff
path: root/src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple')
-rw-r--r--src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple142
1 files changed, 71 insertions, 71 deletions
diff --git a/src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple b/src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple
index ac402b5..a5b197c 100644
--- a/src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple
+++ b/src/GeneralizedPolynomial-Uniform/Lagrange/2d.maple
@@ -9,25 +9,25 @@
# interpolating polynomial
interp_2d_cube_order1_smooth0
- := Lagrange_polynomial_interpolant(fn_2d_order1, coeff_list_2d_order1,
- coord_list_2d, posn_list_2d_size2);
+ := Lagrange_polynomial_interpolant(fn_2d_order1, coeffs_list_2d_order1,
+ coords_list_2d, posn_list_2d_size2);
# I
-coeff_as_lc_of_data(%, posn_list_2d_size2);
-print_coeff__lc_of_data(%, "coeff_I_", "fp",
- "2d.coeffs/2d.cube.order1.smooth0/coeff-I.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size2);
+print_coeffs__lc_of_data(%, "coeffs_I->coeff_", "fp",
+ "2d.coeffs/2d.cube.order1.smooth0/coeffs-I.compute.c");
# d/dx
simplify( diff(interp_2d_cube_order1_smooth0,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size2);
-print_coeff__lc_of_data(%, "coeff_dx_", "fp",
- "2d.coeffs/2d.cube.order1.smooth0/coeff-dx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size2);
+print_coeffs__lc_of_data(%, "coeffs_dx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order1.smooth0/coeffs-dx.compute.c");
# d/dy
simplify( diff(interp_2d_cube_order1_smooth0,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size2);
-print_coeff__lc_of_data(%, "coeff_dy_", "fp",
- "2d.coeffs/2d.cube.order1.smooth0/coeff-dy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size2);
+print_coeffs__lc_of_data(%, "coeffs_dy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order1.smooth0/coeffs-dy.compute.c");
################################################################################
@@ -37,43 +37,43 @@ print_coeff__lc_of_data(%, "coeff_dy_", "fp",
# interpolating polynomial
interp_2d_cube_order2_smooth0
- := Lagrange_polynomial_interpolant(fn_2d_order2, coeff_list_2d_order2,
- coord_list_2d, posn_list_2d_size3);
+ := Lagrange_polynomial_interpolant(fn_2d_order2, coeffs_list_2d_order2,
+ coords_list_2d, posn_list_2d_size3);
# I
-coeff_as_lc_of_data(%, posn_list_2d_size3);
-print_coeff__lc_of_data(%, "coeff_I_", "fp",
- "2d.coeffs/2d.cube.order2.smooth0/coeff-I.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size3);
+print_coeffs__lc_of_data(%, "coeffs_I->coeff_", "fp",
+ "2d.coeffs/2d.cube.order2.smooth0/coeffs-I.compute.c");
# d/dx
simplify( diff(interp_2d_cube_order2_smooth0,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size3);
-print_coeff__lc_of_data(%, "coeff_dx_", "fp",
- "2d.coeffs/2d.cube.order2.smooth0/coeff-dx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size3);
+print_coeffs__lc_of_data(%, "coeffs_dx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order2.smooth0/coeffs-dx.compute.c");
# d/dy
simplify( diff(interp_2d_cube_order2_smooth0,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size3);
-print_coeff__lc_of_data(%, "coeff_dy_", "fp",
- "2d.coeffs/2d.cube.order2.smooth0/coeff-dy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size3);
+print_coeffs__lc_of_data(%, "coeffs_dy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order2.smooth0/coeffs-dy.compute.c");
# d^2/dx^2
simplify( diff(interp_2d_cube_order2_smooth0,x,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size3);
-print_coeff__lc_of_data(%, "coeff_dxx_", "fp",
- "2d.coeffs/2d.cube.order2.smooth0/coeff-dxx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size3);
+print_coeffs__lc_of_data(%, "coeffs_dxx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order2.smooth0/coeffs-dxx.compute.c");
# d^2/dxdy
simplify( diff(interp_2d_cube_order2_smooth0,x,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size3);
-print_coeff__lc_of_data(%, "coeff_dxy_", "fp",
- "2d.coeffs/2d.cube.order2.smooth0/coeff-dxy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size3);
+print_coeffs__lc_of_data(%, "coeffs_dxy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order2.smooth0/coeffs-dxy.compute.c");
# d^2/dy^2
simplify( diff(interp_2d_cube_order2_smooth0,y,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size3);
-print_coeff__lc_of_data(%, "coeff_dyy_", "fp",
- "2d.coeffs/2d.cube.order2.smooth0/coeff-dyy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size3);
+print_coeffs__lc_of_data(%, "coeffs_dyy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order2.smooth0/coeffs-dyy.compute.c");
################################################################################
@@ -83,43 +83,43 @@ print_coeff__lc_of_data(%, "coeff_dyy_", "fp",
# interpolating polynomial
interp_2d_cube_order3_smooth0
- := Lagrange_polynomial_interpolant(fn_2d_order3, coeff_list_2d_order3,
- coord_list_2d, posn_list_2d_size4);
+ := Lagrange_polynomial_interpolant(fn_2d_order3, coeffs_list_2d_order3,
+ coords_list_2d, posn_list_2d_size4);
# I
-coeff_as_lc_of_data(%, posn_list_2d_size4);
-print_coeff__lc_of_data(%, "coeff_I_", "fp",
- "2d.coeffs/2d.cube.order3.smooth0/coeff-I.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size4);
+print_coeffs__lc_of_data(%, "coeffs_I->coeff_", "fp",
+ "2d.coeffs/2d.cube.order3.smooth0/coeffs-I.compute.c");
# d/dx
simplify( diff(interp_2d_cube_order3_smooth0,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size4);
-print_coeff__lc_of_data(%, "coeff_dx_", "fp",
- "2d.coeffs/2d.cube.order3.smooth0/coeff-dx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size4);
+print_coeffs__lc_of_data(%, "coeffs_dx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order3.smooth0/coeffs-dx.compute.c");
# d/dy
simplify( diff(interp_2d_cube_order3_smooth0,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size4);
-print_coeff__lc_of_data(%, "coeff_dy_", "fp",
- "2d.coeffs/2d.cube.order3.smooth0/coeff-dy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size4);
+print_coeffs__lc_of_data(%, "coeffs_dy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order3.smooth0/coeffs-dy.compute.c");
# d^2/dx^2
simplify( diff(interp_2d_cube_order3_smooth0,x,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size4);
-print_coeff__lc_of_data(%, "coeff_dxx_", "fp",
- "2d.coeffs/2d.cube.order3.smooth0/coeff-dxx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size4);
+print_coeffs__lc_of_data(%, "coeffs_dxx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order3.smooth0/coeffs-dxx.compute.c");
# d^2/dxdy
simplify( diff(interp_2d_cube_order3_smooth0,x,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size4);
-print_coeff__lc_of_data(%, "coeff_dxy_", "fp",
- "2d.coeffs/2d.cube.order3.smooth0/coeff-dxy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size4);
+print_coeffs__lc_of_data(%, "coeffs_dxy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order3.smooth0/coeffs-dxy.compute.c");
# d^2/dy^2
simplify( diff(interp_2d_cube_order3_smooth0,y,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size4);
-print_coeff__lc_of_data(%, "coeff_dyy_", "fp",
- "2d.coeffs/2d.cube.order3.smooth0/coeff-dyy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size4);
+print_coeffs__lc_of_data(%, "coeffs_dyy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order3.smooth0/coeffs-dyy.compute.c");
################################################################################
@@ -129,42 +129,42 @@ print_coeff__lc_of_data(%, "coeff_dyy_", "fp",
# interpolating polynomial
interp_2d_cube_order4_smooth0
- := Lagrange_polynomial_interpolant(fn_2d_order4, coeff_list_2d_order4,
- coord_list_2d, posn_list_2d_size5);
+ := Lagrange_polynomial_interpolant(fn_2d_order4, coeffs_list_2d_order4,
+ coords_list_2d, posn_list_2d_size5);
# I
-coeff_as_lc_of_data(%, posn_list_2d_size5);
-print_coeff__lc_of_data(%, "coeff_I_", "fp",
- "2d.coeffs/2d.cube.order4.smooth0/coeff-I.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size5);
+print_coeffs__lc_of_data(%, "coeffs_I->coeff_", "fp",
+ "2d.coeffs/2d.cube.order4.smooth0/coeffs-I.compute.c");
# d/dx
simplify( diff(interp_2d_cube_order4_smooth0,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size5);
-print_coeff__lc_of_data(%, "coeff_dx_", "fp",
- "2d.coeffs/2d.cube.order4.smooth0/coeff-dx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size5);
+print_coeffs__lc_of_data(%, "coeffs_dx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order4.smooth0/coeffs-dx.compute.c");
# d/dy
simplify( diff(interp_2d_cube_order4_smooth0,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size5);
-print_coeff__lc_of_data(%, "coeff_dy_", "fp",
- "2d.coeffs/2d.cube.order4.smooth0/coeff-dy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size5);
+print_coeffs__lc_of_data(%, "coeffs_dy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order4.smooth0/coeffs-dy.compute.c");
# d^2/dx^2
simplify( diff(interp_2d_cube_order4_smooth0,x,x) );
-coeff_as_lc_of_data(%, posn_list_2d_size5);
-print_coeff__lc_of_data(%, "coeff_dxx_", "fp",
- "2d.coeffs/2d.cube.order4.smooth0/coeff-dxx.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size5);
+print_coeffs__lc_of_data(%, "coeffs_dxx->coeff_", "fp",
+ "2d.coeffs/2d.cube.order4.smooth0/coeffs-dxx.compute.c");
# d^2/dxdy
simplify( diff(interp_2d_cube_order4_smooth0,x,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size5);
-print_coeff__lc_of_data(%, "coeff_dxy_", "fp",
- "2d.coeffs/2d.cube.order4.smooth0/coeff-dxy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size5);
+print_coeffs__lc_of_data(%, "coeffs_dxy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order4.smooth0/coeffs-dxy.compute.c");
# d^2/dy^2
simplify( diff(interp_2d_cube_order4_smooth0,y,y) );
-coeff_as_lc_of_data(%, posn_list_2d_size5);
-print_coeff__lc_of_data(%, "coeff_dyy_", "fp",
- "2d.coeffs/2d.cube.order4.smooth0/coeff-dyy.compute.c");
+coeffs_as_lc_of_data(%, posn_list_2d_size5);
+print_coeffs__lc_of_data(%, "coeffs_dyy->coeff_", "fp",
+ "2d.coeffs/2d.cube.order4.smooth0/coeffs-dyy.compute.c");
################################################################################