triangle_monte_carlo_test


triangle_monte_carlo_test, a C++ code which calls triangle_monte_carlo(), which estimates the integral of a function over a general triangle using the Monte Carlo method.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

triangle_monte_carlo, a C++ code which uses the Monte Carlo method to estimate integrals over the interior of a general triangle in 2D.

Source Code:


Last revised on 04 May 2020.