arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.11560physics.comp-phastro-ph.IM
收藏

Voigt和复误差函数:Humlíček有理逼近的推广

The Voigt and complex error function: Humlíček's rational approximation generalized

Franz Schreier

摘要:

精确而有效地计算Voigt和复杂的误差函数是几十年来天体物理学和其他物理学领域的一个挑战。有理逼近已经引起了相当大的关注,并在许多代码中使用,通常与其他技术相结合。Humlíček(1979)的12项代码“cpf12”在整个复平面上达到了5到6位有效数字的精度。在这里,我们将此算法推广到更大(偶数)的条款。对于几乎整个复平面,除了非常小的幅角虚值之外,即使没有cpf 12算法所需的校正项,$n=16$近似也具有比$10^{-5}$更好的相对精度。在20项的情况下,准确度优于$10^{-6}$。除了精度评估,我们还讨论了优化方法,并提出了一种将16项近似与Humlíček(1982)的渐近近似相结合的方法,以提高效率。

英文摘要:

Accurate yet efficient computation of the Voigt and complex error function is a challenge since decades in astrophysics and other areas of physics. Rational approximations have attracted considerable attention and are used in many codes, often in combination with other techniques. The 12-term code "cpf12" of Humlíček (1979) achieves an accuracy of five to six significant digits throughout the entire complex plane. Here we generalize this algorithm to a larger (even) number of terms. The $n=16$ approximation has a relative accuracy better than $10^{-5}$ for almost the entire complex plane except for very small imaginary values of the argument even without the correction term required for the cpf12 algorithm. With 20 terms the accuracy is better than $10^{-6}$. In addition to the accuracy assessment we discuss methods for optimization and propose a combination of the 16-term approximation with the asymptotic approximation of Humlíček (1982) for high efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑