SearcharxivSearch

arXiv subjects

Arun I.

Publications and source records attributed to Arun I..

2 recordsLinked to original sources

An algorithm for estimating volumes and other integrals in $n$ dimensions

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.

math.NA

An O(n) algorithm for generating uniform random vectors in n-dimensional cones

Unbiased random vectors i.e. distributed uniformly in n-dimensional space, are widely applied and the computational cost of generating a vector increases only linearly with n. On the other hand, generating uniformly distributed random vectors in its subspaces typically involves the inefficiency of rejecting vectors falling outside, or re-weighting a non-uniformly distributed set of samples. Both approaches become severely ineffective as n increases. We present an efficient algorithm to generate uniformly distributed random directions in n-dimensional cones, to aid searching and sampling tasks in high dimensions.

math.NA