power_rule_test


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

Licensing:

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

Related Data and Programs:

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

Source Code:

As an example, we start with a 1D Clenshaw Curtis rule of order 3:

We give the command

power_rule cc3 2
to create a Clenshaw Curtis product rule of order 9 for a 2D region. The files which are created include:


Last revised on 27 July 2019.