disk01_positive_monte_carlo, a C++ code which uses the Monte Carlo method to estimate the integral of a function F(X,Y) over the interior of the unit positive disk in 2D.
The unit positive disk in 2D is the set of points (X,Y) such that 0 <= X, 0 <= Y, and X^2+Y^2 <= 1.
The information on this web page is distributed under the MIT license.
disk01_positive_monte_carlo is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
disk01_positive_monte_carlo_test
cpp_monte_carlo, a C++ code which uses Monte Carlo sampling to estimate areas and integrals.