legendre_exactness_test, a C code 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 MIT license
legendre_exactness, a C code 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_O4 is a standard Gauss-Legendre order 4 rule.