**legendre_exactness_test**,
a MATLAB code which
calls legendre_exactness(), which
investigates 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 MATLAB 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.m, calls all the tests.
- legendre_exactness_test.sh, runs all the tests.
- legendre_exactness_test.txt, the output file.

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

- leg_o004_x.txt, the abscissas of the rule.
- leg_o004_w.txt, the weights of the rule.
- leg_o004_r.txt, defines the region for the rule.