logoalt Hacker News

MengerSpongetoday at 5:37 PM2 repliesview on HN

Typical numerical methods are faster and way cheaper for the same level of accuracy in 1D, but it's trivial to integrate over a surface, volume, hypervolume, etc. with Monte Carlo methods.


Replies

adrianNtoday at 6:11 PM

At least if you can sample the relevant space reasonably accurately, otherwise it becomes really slow.

jgalt212today at 6:01 PM

The writer would have been well served to discuss why he chose Monte Carlo over than summing up all the small trapezoids.