sphere_triangle_monte_carlo_test, a C code which calls sphere_triangle_monte_carlo() to apply the Monte Carlo method to estimate the integral of a function F(X,Y,Z) over the interior of a triangle on the surface of the unit sphere in 3D.
The information on this web page is distributed under the MIT license.
sphere_triangle_monte_carlo, a C code which applies a Monte Carlo method to estimate the integral of a function over a spherical triangle on the surface of the unit sphere in 3D;