legendre_rule_test, a MATLAB program which calls legendre_rule() to generate a specific Gauss-Legendre quadrature rule, based on user input.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
legendre_rule, a MATLAB program which computes Gauss-Legendre quadrature rules for estimating the integral of a function with density 1 over the interval [-1,+1].