{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/an-algorithm-for-estimating-volumes-and-other","title":"An algorithm for estimating volumes and other integrals in $n$ dimensions","arxiv_id":"2007.06808","date":"2020-07-14","proceeding":null,"authors":["Arun I.","Murugesan Venkatapathi"],"abstract":"The computational cost in evaluation of the volume of a body using numerical integration grows exponentially with dimension of the space $n$. The most generally applicable algorithms for estimating $n$-volumes and integrals are based on Markov Chain Monte Carlo (MCMC) methods, and they are suited for convex domains. We analyze a less known alternate method used for estimating $n$-dimensional volumes, that is agnostic to the convexity and roughness of the body. It results due to the possible decomposition of an arbitrary $n$-volume into an integral of statistically weighted volumes of $n$-spheres. We establish its dimensional scaling, and extend it for evaluation of arbitrary integrals over non-convex domains. Our results also show that this method is significantly more efficient than the MCMC approach even when restricted to convex domains, for $n$ $\\sim <$ 100. An importance sampling may extend this advantage to larger dimensions.","url_abs":"https://arxiv.org/abs/2007.06808v2","url_pdf":"https://arxiv.org/pdf/2007.06808v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"an-algorithm-for-estimating-volumes-and-other","repo_url":"https://gitlab.com/arunisaac/nsmc","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}