**legendre_exactness_test**,
a FORTRAN90 code which
calls legendre_exactness(), which
investigates the polynomial exactness of Gauss-Legendre
quadrature rules 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 FORTRAN90 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.