**line_integrals_test**,
a MATLAB code which
calls line_integrals(), which
returns the exact value of the integral of any monomial
along the length of the unit monomial in 1D.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

line_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the length of the unit line segment in 1D.

- line_integrals_test.m, calls all the tests.
- line_integrals_test.sh, runs all the tests.
- line_integrals_test.txt, the output file.

- line_integrals_test01.m, estimates several integrals using the Monte Carlo method.