line_felippa_rule, a MATLAB 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 GNU LGPL license.
line_felippa_rule is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.
ccn_rule, a MATLAB code which defines a nested clenshaw curtis quadrature rule.
chebyshev1_rule, a MATLAB code which computes and prints a gauss-chebyshev type 1 quadrature rule.
chebyshev2_rule, a MATLAB code which computes and prints a gauss-chebyshev type 2 quadrature rule.
clenshaw_curtis_rule, a MATLAB code which defines a clenshaw curtis quadrature rule.
legendre_rule, a MATLAB code which computes a 1d gauss-legendre quadrature rule.
line_cvt_lloyd, a MATLAB code which applies lloyd's iteration repeatedly to a set of n points, to compute a centroidal voronoi tessellation (cvt) over the interior of a line segment in 1d.
line_fekete_rule, a MATLAB code which estimates the location of n fekete points, for polynomial interpolation or quadrature, 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 defines a newton cotes closed (ncc) rule using equally spaced points over the interior of a line segment in 1d.
line_nco_rule, a MATLAB code which defines a newton cotes open (nco) rule using equally spaced points over the interior of a line segment in 1d.
patterson_rule, a MATLAB code which returns the points and weights of a 1d gauss-patterson quadrature rule of order 1, 3, 7, 15, 31, 63, 127, 255 or 511.