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.

Related Data and Programs:



  1. Carlos Felippa,
    A compendium of FEM integration formulas for symbolic work,
    Engineering Computation,
    Volume 21, Number 8, 2004, pages 867-890.

Source Code:

Last revised on 24 October 2022.