**patterson_rule_test**,
a MATLAB code which
calls patterson_rule(), which
generates a specific Gauss-Patterson quadrature rule,
based on user input.

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

patterson_rule, a MATLAB code which returns the points and weights of a 1D Gauss-Patterson quadrature rule of order 1, 3, 7, 15, 31, 63, 127, 255 or 511.

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

- gp_o15_r.txt, the region file.
- gp_o15_w.txt, the weight file.
- gp_o15_x.txt, the abscissa file.