**line_nco_rule_test**,
a MATLAB code which
calls line_nco_rule(), which
computes a Newton Cotes Open (NCO) 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_nco_rule, a MATLAB code which computes a Newton Cotes Open (NCO) quadrature rule, using equally spaced points, over the interior of a line segment in 1D.

- line_nco_rule_test.m, calls all the tests.
- line_nco_rule_test.sh, runs all the tests.
- line_nco_rule_test.txt, the output file.

- line_nco_rule_test01.m, computes and prints some rules.
- line_nco_rule_test02.m, uses the rules to integrate a function.