English

Efficient Computation of $N$-point Correlation Functions in $D$ Dimensions

Instrumentation and Methods for Astrophysics 2022-09-14 v2 Applied Physics Computational Physics Data Analysis, Statistics and Probability

Abstract

We present efficient algorithms for computing the NN-point correlation functions (NPCFs) of random fields in arbitrary DD-dimensional homogeneous and isotropic spaces. Such statistics appear throughout the physical sciences, and provide a natural tool to describe stochastic processes. algorithms for computing the NPCF components have O(nN)\mathcal{O}(n^N) complexity (for a data set containing nn particles); their application is thus computationally infeasible unless NN is small. By projecting the statistic onto a suitably-defined angular basis, we show that the estimators can be written in a separable form, with complexity O(n2)\mathcal{O}(n^2), or O(nglogng)\mathcal{O}(n_{\rm g}\log n_{\rm g}) if evaluated using a Fast Fourier Transform on a grid of size ngn_{\rm g}. Our decomposition is built upon the DD-dimensional hyperspherical harmonics; these form a complete basis on the (D1)(D-1)-sphere and are intrinsically related to angular momentum operators. Concatenation of (N1)(N-1) such harmonics gives states of definite combined angular momentum, forming a natural separable basis for the NPCF. As NN and DD grow, the number of basis components quickly becomes large, providing a practical limitation to this (and all other) approaches: however, the dimensionality is greatly reduced in the presence of symmetries; for example, isotropic correlation functions require only states of zero combined angular momentum. We provide a \textsc{Julia} package implementing our estimators, and show how they can be applied to a variety of scenarios within cosmology and fluid dynamics. The efficiency of such estimators will allow higher-order correlators to become a standard tool in the analysis of random fields.

Keywords

Cite

@article{arxiv.2106.10278,
  title  = {Efficient Computation of $N$-point Correlation Functions in $D$ Dimensions},
  author = {Oliver H. E. Philcox and Zachary Slepian},
  journal= {arXiv preprint arXiv:2106.10278},
  year   = {2022}
}

Comments

12 pages, 3 figures, accepted by PNAS. Code available at https://github.com/oliverphilcox/NPCFs.jl

R2 v1 2026-06-24T03:22:20.143Z