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.