patterson_rule_test, a C++ code which calls patterson_rule(), which generates a specific Gauss-Patterson quadrature rule, based on user input.
The information on this web page is distributed under the MIT license.
patterson_rule, a C++ 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.