LINE_NCO_RULE
Newton Cotes Open (NCO) Quadrature Rules for the Interval


LINE_NCO_RULE, a MATLAB library which computes a Newton Cotes Open (NCO) quadrature rule using equally spaced points over the interior of a line segment in 1D.

Licensing:

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

Languages:

LINE_NCO_RULE is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Data and Programs:

CCN_RULE, a MATLAB program which defines a nested Clenshaw Curtis quadrature rule.

CHEBYSHEV1_RULE, a MATLAB program which computes and prints a Gauss-Chebyshev type 1 quadrature rule.

CHEBYSHEV2_RULE, a MATLAB program which computes and prints a Gauss-Chebyshev type 2 quadrature rule.

CLENSHAW_CURTIS_RULE, a MATLAB program which defines a Clenshaw Curtis quadrature rule.

LEGENDRE_RULE, a MATLAB program which computes a 1D Gauss-Legendre quadrature rule.

LINE_FELIPPA_RULE, a MATLAB library which returns the points and weights of a Felippa quadrature rule over the interior of a line segment in 1D.

LINE_GRID, a MATLAB library which computes a grid of points over the interior of a line segment in 1D.

LINE_INTEGRALS, a MATLAB library 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 library 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 library which computes a Newton Cotes Closed (NCC) quadrature rule using equally spaced points over the interior of a line segment in 1D.

line_nco_rule_test

PATTERSON_RULE, a MATLAB program 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.

TETRAHEDRON_NCO_RULE, a MATLAB library which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a tetrahedron in 3D.

TRIANGLE_FEKETE_RULE, a MATLAB library which defines Fekete rules for quadrature or interpolation over the interior of a triangle in 2D.

TRIANGLE_FELIPPA_RULE, a MATLAB library which returns Felippa's quadratures rules for approximating integrals over the interior of a triangle in 2D.

TRIANGLE_NCO_RULE, a MATLAB library which defines Newton-Cotes Open (NCO) quadrature rules over the interior of a triangle in 2D.

WEDGE_FELIPPA_RULE, a MATLAB library which returns quadratures rules for approximating integrals over the interior of the unit wedge in 3D.

Reference:

  1. Philip Davis, Philip Rabinowitz,
    Methods of Numerical Integration,
    Second Edition,
    Dover, 2007,
    ISBN: 0486453391,
    LC: QA299.3.D28.

Source Code:


Last revised on 15 February 2019.