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 information on this web page is distributed under the MIT license.

Languages:

test_int_circle is available in a C version and a C++ version and a Fortran90 version.

Related Data and Programs:

quad_rule, a C code which defines 1-dimensional quadrature rules.

stroud_rule, 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.