ball_monte_carlo_test, a C++ code which calls ball_monte_carlo() to estimate the integral of F(X,Y,Z) over the interior of the unit ball in 3D.
The information on this web page is distributed under the MIT license.
ball_monte_carlo, a C++ code which applies a Monte Carlo method to estimate integrals of a function over the interior of the unit ball in 3D;