**line_ncc_rule_test**,
a FORTRAN90 code which
calls line_ncc_rule(), which
computes a Newton Cotes Closed (NCC) quadrature rule using equally spaced points
over the interior of a line segment in 1D.

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

line_ncc_rule, a FORTRAN90 code which computes a Newton Cotes Closed (NCC) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.

- line_ncc_rule_test.f90, a sample calling program.
- line_ncc_rule_test.sh, runs all the tests.
- line_ncc_rule_test.txt, the output file.