**power_rule_test**,
a MATLAB code which
calls power_rule(), which
creates a power rule, that is, a multidimensional quadrature rule
formed as a repeated product of a single one-dimensional quadrature rule.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

power_rule, a MATLAB code which constructs a power rule, that is, a product quadrature rule from identical 1D factor rules.

- power_rule_test.m, calls all the tests.
- power_rule_test.sh, runs all the tests.
- power_rule_test.txt, the output file.

- cc_d1_o3_x.txt, the abscissas of a 1D Clenshaw Curtis rule of order 3.
- cc_d1_o3_w.txt, the weights of a 1D Clenshaw Curtis rule of order 3.
- cc_d1_o3_r.txt, defines the range of the region.

We give the command

power_rule ( 'cc_d1_o3', 2 )to create a Clenshaw Curtis power rule of order 9 for a 2D region. The files which are created include:

- power_x.txt, the abscissas of a 2D Clenshaw Curtis power rule of order 9.
- power_w.txt, the weights of a 2D Clenshaw Curtis power rule of order 9.
- power_r.txt"> power_r.txt, defines the range of the power region.