line_ncc_rule_test, a MATLAB code which calls line_ncc_rule(), which computes a Closed Newton Cotes quadrature rule to approximate an integral over the length 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 MATLAB code which computes a Closed Newton Cotes quadrature rule to approximate an integral over the length of a line segment in 1D.