**legendre_rule_test**,
a FORTRAN90 code which
calls legendre_rule(), which
generates a Gauss-Legendre quadrature rule,
based on user input.

The computer code and data files described and made available on this web page are distributed under the MIT license

legendre_rule, a FORTRAN90 code which computes Gauss-Legendre quadrature rules for estimating the integral of a function with density rho(x)=1 over the interval [-1,+1].

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

- leg_o4_r.txt, the region file.
- leg_o4_w.txt, the weight file.
- leg_o4_x.txt, the abscissa file.