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