line_ncc_rule, an Octave code which computes a Newton Cotes Closed (NCC) 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 is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
line_felippa_rule, an Octave code which returns the points and weights of a Felippa quadrature rule over the interior of a line segment in 1D.
line_grid, an Octave code which computes a grid of points over the interior of a line segment in 1D.
line_integrals, an Octave code which returns the exact value of the integral of any monomial over the length of the unit line in 1D.
line_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the length of the unit line in 1D;
line_nco_rule, an Octave code which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a line segment in 1D.