Skip to main content
QUICK REVIEW

[Paper Review] On the Fourier expansion method for highly accurate computation of the Voigt/complex error function in a rapid algorithm

Sanjar M. Abrarov, Brendan M. Quine|arXiv (Cornell University)|May 7, 2012
Image and Signal Denoising MethodsComputer Science3 references14 citations
TL;DR

This paper presents a simplified Fourier expansion-based algorithm for highly accurate and rapid computation of the Voigt and complex error functions. By restructuring the approximation to minimize redundant operations and leveraging vectorized array computations, the method achieves over 5× speedup compared to Weideman's algorithm while maintaining machine-precision accuracy, especially beneficial for large-scale array processing.

ABSTRACT

In our recent publication [1] we presented an exponential series approximation suitable for highly accurate computation of the complex error function in a rapid algorithm. In this Short Communication we describe how a simplified representation of the proposed complex error function approximation makes possible further algorithmic optimization resulting in a considerable computational acceleration without compromise on accuracy.

Motivation & Objective

  • To develop a computationally efficient algorithm for the Voigt and complex error functions without sacrificing accuracy.
  • To optimize the Fourier expansion method for faster execution by simplifying the approximation structure.
  • To enable high-performance computation in spectral line broadening and plasma physics simulations requiring massive array processing.
  • To reduce computational overhead by minimizing repeated exponential evaluations and leveraging vectorized operations.
  • To demonstrate that algorithmic simplification can yield significant speedups without compromising numerical precision.

Proposed method

  • The complex error function is approximated using a Fourier series expansion with coefficients derived from a Gaussian envelope.
  • The original summation is restructured by isolating the n=0 term, leading to a simplified analytical form that reduces computational redundancy.
  • The simplified form expresses the function as a sum involving terms with (−1)^n e^{iτₘz} and rational functions of z, enabling efficient vectorized implementation.
  • The algorithm uses only three primary arrays: A = τₘz, B = e^{iA}, and C = A.*A, computed once per input array.
  • Element-wise operations in MATLAB-style notation allow efficient vectorization, with exponentiation (B) contributing less than 6% to total runtime.
  • The method avoids rational approximations for e^{iτₘz}, as its computational cost remains negligible even at reduced τₘ and N values.

Experimental results

Research questions

  • RQ1Can the Fourier expansion method for the complex error function be simplified to reduce computational overhead without losing accuracy?
  • RQ2To what extent can vectorized array operations accelerate the evaluation of the Voigt function in large-scale applications?
  • RQ3How does the computational performance of the simplified algorithm compare to established methods like Weideman's and Algorithm 680?
  • RQ4What is the impact of reducing τₘ and N on accuracy and performance, especially when high precision is not required?
  • RQ5Can the exponential evaluation step be optimized such that it no longer dominates the total computation time?

Key findings

  • The simplified algorithm achieves over 5× speedup compared to Weideman's algorithm when processing arrays exceeding 30 million elements.
  • The algorithm is more than twice as fast as the original approximation (1) when handling large input arrays.
  • The computational cost of the exponential evaluation (B = e^{iA}) contributes less than 6% to the total runtime at τₘ = 12 and N = 23.
  • The numerical results match those of Algorithm 680 to the last decimal digit, confirming machine-precision accuracy.
  • Reducing τₘ and N to 9 and 12 respectively provides additional speedup with no loss in accuracy for applications not requiring extreme precision.
  • The method enables rapid, high-accuracy computation of the Voigt function suitable for large-scale spectral line broadening simulations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.