alpert_rule_test, a FORTRAN90 code which calls alpert_rule(), which defines Alpert quadrature rules of a number of orders of accuracy for functions that are regular, log singular, or power singular.
The computer code and data files described and made available on this web page are distributed under the MIT license
alpert_rule, a FORTRAN90 code which can set up an Alpert quadrature rule for functions which are regular, log(x) singular, or 1/sqrt(x) singular.