line_monte_carlo, an Octave code which uses the Monte Carlo method to estimate the integral of a function over the length of the unit line in 1D.
The information on this web page is distributed under the MIT license.
line_monte_carlo 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_fekete_rule, an Octave code which approximates the location of Fekete points in an interval [a,b]. a family of sets of fekete points, indexed by size n, represents an excellent choice for defining a polynomial interpolant.
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.
octave_monte_carlo, an Octave code which uses Monte Carlo sampling to estimate areas and integrals.