line_felippa_rule, an Octave code which generates the points and weights of a quadrature rule 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_felippa_rule is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.