# triangle_symq_rule

triangle_symq_rule, a MATLAB code which returns symmetric quadrature rules, with exactness up to total degree 50, over the interior of an arbitrary triangle in 2D, by Hong Xiao and Zydrunas Gimbutas.

The original source code, from which this library was developed, is available from the Courant Mathematics and Computing Laboratory, at https://www.cims.nyu.edu/cmcl/quadratures/quadratures.html ,

### Languages:

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

### Related Data and Programs:

annulus_rule, a MATLAB code which computes a quadrature rule for estimating integrals of a function over the interior of a circular annulus in 2d.

cube_felippa_rule, a MATLAB code which returns the points and weights of a felippa quadrature rule over the interior of a cube in 3d.

gnuplot_test, a MATLAB code which illustrates how a program can write data and command files so that gnuplot can create plots of the program results.

pyramid_felippa_rule, a MATLAB code which returns felippa's quadratures rules for approximating integrals over the interior of a pyramid in 3d.

simplex_gm_rule, a MATLAB code which defines grundmann-moeller quadrature rules over the interior of a simplex in m dimensions.

square_felippa_rule, a MATLAB code which returns the points and weights of a felippa quadrature rule over the interior of a square in 2d.

square_symq_rule, a MATLAB code which returns symmetric quadrature rules, with exactness up to total degree 20, over the interior of the symmetric square in 2d, by hong xiao and zydrunas gimbutas.

stroud, a MATLAB code which defines quadrature rules for a variety of m-dimensional regions, including the interior of the square, cube and hypercube, the pyramid, cone and ellipse, the hexagon, the m-dimensional octahedron, the circle, sphere and hypersphere, the triangle, tetrahedron and simplex, and the surface of the circle, sphere and hypersphere.

tetrahedron_felippa_rule, a MATLAB code which returns felippa's quadratures rules for approximating integrals over the interior of a tetrahedron in 3d.

toms886, a MATLAB code which defines the padua points for interpolation in a 2d region, including the rectangle, triangle, and ellipse, by marco caliari, stefano de marchi, marco vianello. this is a version of acm toms algorithm 886.

triangle_dunavant_rule, a MATLAB code which sets up a dunavant quadrature rule over the interior of a triangle in 2d.

triangle_fekete_rule, a MATLAB code which defines fekete rules for quadrature or interpolation over the interior of a triangle in 2d.

triangle_felippa_rule, a MATLAB code which returns felippa's quadratures rules for approximating integrals over the interior of a triangle in 2d.

triangle_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of the unit triangle in 2d.

triangle_lyness_rule, a MATLAB code which returns lyness-jespersen quadrature rules over the interior of a triangle in 2d.

triangle_monte_carlo, a MATLAB code which uses the monte carlo method to estimate the integral of a function over the interior of the unit triangle in 2d.

triangle_ncc_rule, a MATLAB code which defines newton-cotes closed quadrature rules on a triangle.

triangle_nco_rule, a MATLAB code which defines newton-cotes open quadrature rules over the interior of a triangle in 2d.

triangle_wandzura_rule, a MATLAB code which sets up a quadrature rule of exactness 5, 10, 15, 20, 25 or 30 over the interior of a triangle in 2d.

wedge_felippa_rule, a MATLAB code which returns quadratures rules for approximating integrals over the interior of the unit wedge in 3d.

### Reference:

1. Hong Xiao, Zydrunas Gimbutas,
A numerical algorithm for the construction of efficient quadrature rules in two and higher dimensions,
Computers and Mathematics with Applications,
Volume 59, 2010, pages 663-676.

### Source Code:

Last revised on 07 April 2019.