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