Abstract

Rational expansions for computing the complex error function $w(z) = e^{ - z^2 } {\text{erfc}}( - iz)$ are presented. These expansions have the following attractive properties: (1) they can be evaluated using a polynomial evaluation routine such as Homer’s method, (2) the polynomial coefficients can be computed once and for all by a single Fast Fourier Transform (FFT), and (3) high accuracy is achieved uniformly in the complex plane with only a small number of terms. Comparisons reveal that in some parts of the complex plane certain competitors may be more efficient. However, the difference in efficiency is never great, and the new algorithms are simpler than existing ones: a complete program takes eight lines of Matlab code.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.