legendre_rule_test, a C++ code which calls legendre_rule(), which generates a specific 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

Related Data and Programs:

legendre_rule, a C++ code which computes Gauss-Legendre quadrature rules for estimating the integral of a function with density 1 over the interval [-1,+1].

Source Code:

Last revised on 24 March 2020.