hypercube_monte_carlo_test, a C code which calls hypercube_monte_carlo(), which estimates the integral of a function over the interior of the unit hypercube in M dimensions.
The information on this web page is distributed under the MIT license.
hypercube_monte_carlo, a C code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit hypercube in M dimensions.