legendre_exactness_test, a MATLAB program which calls legendre_exactness() to investigate the polynomial exactness of a Gauss-Legendre quadrature rule for the interval [-1,+1].
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
legendre_exactness, a MATLAB program which tests the monomial exactness of quadrature rules for estimating Legendre-type integrals of a function f(x) with density rho(x)=1 over the interval [-1,+1].
LEG_O004 is a standard Gauss-Legendre order 4 rule.