sphere_triangle_monte_carlo_test, a MATLAB code which calls sphere_triangle_monte_carlo(), which applies the Monte Carlo method to estimate the integral of a function F(X,Y,Z) over a triangle on the surface of the unit sphere in 3D.
The computer code and data files described and made available on this web page are distributed under the MIT license
sphere_triangle_monte_carlo, a MATLAB 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;