Affiliation:
1. University of Liverpool, UK
Abstract
Calculation of the scaled complex error function
\(w(z)\)
by recurrence is discussed, and a new method for determining the number of steps required to achieve a given accuracy is introduced. This method is found to work throughout the complex plane, except for a short section of the real line, centred at the origin. An algorithm based on this analysis is implemented; Taylor series with stored coefficients are used to compute
\(w(z)\)
in a small region where recurrence is not efficient. The new algorithm is tested extensively and found to outperform earlier recurrence-based codes. It also performs favourably against recent codes based on other methods.
Publisher
Association for Computing Machinery (ACM)