disk_integrands, a MATLAB code which defines several test integrals over the unit disk, making it possible to check the accuracy of quadrature rules.

Currently, the test integrals include:

  1. x^e, where the parameter e is set by the user.
  2. r^e, where the parameter e is set by the user.
  3. exp(x)


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


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

Related Data and Programs:


quadrule, a MATLAB code which defines quadrature rules on a variety of intervals with different weight functions.

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.

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.

Source Code:

Last revised on 19 April 2019.