Evaluation of complex-valued error-like functions by the exponentially-convergent trapezoidal rule
Federico Maria Guercilena

TL;DR
This paper introduces an efficient, accurate algorithm for evaluating complex error-like functions using the exponentially convergent trapezoidal rule, implemented in the erflike library, outperforming existing methods in accuracy and speed for complex arguments.
Contribution
It presents a novel application of the exponentially convergent trapezoidal rule to evaluate the Faddeeva function and related functions, with an open-source implementation that improves accuracy and efficiency.
Findings
The erflike library achieves better accuracy than existing methods.
It provides more regular relative error behavior over the complex plane.
The library outperforms Faddeeva package in speed for complex arguments.
Abstract
The exponentially convergent trapezoidal rule is applied to a suitable integral representation of the Faddeeva function to derive a simple formula for its evaluation. I describe its properties, strategies for maximising its efficiency, and its coupling with other evaluation methods (asymptotic expansions and Maclaurin series). From knowledge of the values of the Faddeeva function, all other complex-valued error-like functions such as and can be easily obtained. The resulting algorithm has been implemented in a publicly-available C/C++ library named in IEEE double precision arithmetic, and tested against more widespread valuation methods based on Taylor series and continued fractions, as provided by the widely used Faddeeva package. It is found that the algorithm presented here and its implementation achieve better accuracy and a more regular…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · Mathematical functions and polynomials · Matrix Theory and Algorithms
