Paper record

W1541633373

Efficient Computation of the Complex Error Function

Walter Gautschi

Year
1970
Venue
SIAM Journal on Numerical Analysis
References
8
Cited by
276

Details and counts from OpenAlex.

Abstract

The paper is concerned with the computation of w(z)=exp⁡(−z2)erfc⁡(−iz)w(z) = \exp ( - z^2 ){\operatorname{erfc}}( - iz) for complex z=x+iyz = x + iy in the first quadrant Q1:x≧0,y≧0Q_1 :x \geqq 0,y \geqq 0. Using Stieltjes– theory of continued fractions it is first observed that the Laplace continued fraction for w(z)w(z), although divergent on the real line, represents w(z)w(z) asymptotically for $z \to \infty $ in the sector $ S:{{ - \pi} / 4} < \arg z < {{5\pi } / 4}$. Specifically, the nth convergent approximates w(z)w(z) to within an error of O(z−2n−11)O(z^{ - 2n - 1} 1) as $z \to \infty $ in S. A recursive procedure is then developed which permits evaluating w(z)w(z) to a prescribed accuracy for any $z \in Q_1 $. The procedure has the property that as ∣z∣| z | becomes sufficiently large, it automatically reduces to the evaluation of the Laplace continued fraction, or, equivalently, to Gauss–Hermite quadrature of $({i / \pi })\int_{ - \infty }^\infty {\exp ( - t^2 ){{dt} / {(z - t)}}} $.