English

A sampling-based approximation of the complex error function and its implementation without poles

Numerical Analysis 2019-03-08 v3

Abstract

Recently we developed a new sampling methodology based on incomplete cosine expansion of the sinc function and applied it in numerical integration in order to obtain a rational approximation for the complex error function w(z)=ez2(1+2iπ0zet2dt),w\left(z \right) = e^{- {z^2}}\left(1 + \frac{2i}{\sqrt \pi}\int_0^z e^{t^2}dt\right), where z=x+iyz = x + iy. As a further development, in this work we show how this sampling-based rational approximation can be transformed into alternative form for efficient computation of the complex error function w(z)w\left(z \right) at smaller values of the imaginary argument y=Im[z]y=\operatorname{Im}\left[z \right]. Such an approach enables us to avoid poles in implementation and to cover the entire complex plain with high accuracy in a rapid algorithm. An optimized Matlab code utilizing only three rapid approximations is presented.

Keywords

Cite

@article{arxiv.1802.06077,
  title  = {A sampling-based approximation of the complex error function and its implementation without poles},
  author = {S. M. Abrarov and B. M. Quine and R. K. Jagpal},
  journal= {arXiv preprint arXiv:1802.06077},
  year   = {2019}
}

Comments

20 pages

R2 v1 2026-06-23T00:24:55.649Z