A sampling-based approximation of the complex error function and its implementation without poles
arXiv:1802.06077 · doi:10.1016/j.apnum.2018.03.009
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 where . 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 at smaller values of the imaginary argument . 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.
20 pages