hypersphere_monte_carlo_test, a MATLAB code which calls hypersphere_monte_carlo(), which estimates the integral of F(X) over the surface of the unit hypersphere in M dimensions.
The computer code and data files described and made available on this web page are distributed under the MIT license
hypersphere_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function on the surface of the unit sphere in M dimensions;