disk01_integrands, a MATLAB code which defines several integrands over the unit disk, to check the accuracy of quadrature rules.
Currently, the test integrals include:
The information on this web page is distributed under the MIT license.
disk01_integrands is available in a MATLAB version and an Octave version and a Python version.
disk_integrals, a MATLAB code which returns the exact value of the integral of any monomial over the interior of a disk of radius R centered at the origin.
quad_rule, a MATLAB code which defines quadrature rules on a variety of intervals with different weight functions.
stroud_rule, 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.
sphere_integrals, a MATLAB code which can be used to test algorithms for quadrature over the surface of the unit sphere in 3D.
triangle_integrals, a MATLAB code which implements test functions for integration over the interior of a triangle in 2D.