test_int_circle


test_int_circle, a C code which defines several test integrals over the unit circle, 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)

Licensing:

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

Languages:

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

Related Data and Programs:

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

STROUD, a C 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.

TEST_INT_SPHERE, a C code which can be used to test algorithms for quadrature over the interior of a sphere.

TRIANGLE_INTEGRALS, a C code which implements test functions for integration over the interior of a triangle in 2D.

Source Code:

Examples and Tests:


Last revised on 24 December 2013.