**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].

- legendre_exactness_test.sh, runs all the tests.
- legendre_exactness_test.txt, the output file.

**LEG_O4** is a standard Gauss-Legendre order 4 rule.

- leg_o4_x.txt, the abscissas of the rule.
- leg_o4_w.txt, the weights of the rule.
- leg_o4_r.txt, defines the region for the rule.