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