对“算法916:计算Faddeyeva和Voigt函数”的评论:效率改进和Fortran翻译
Remark on "Algorithm 916: Computing the Faddeyeva and Voigt functions": Efficiency Improvements and Fortran Translation
摘要:
该注释描述了算法916的效率改进[Zaghloul和Ali 2011]。它示出的算法所需的执行时间,当运行在其最高的准确性,可以提高两个以上的因素。一个更好的准确性与效率的权衡方案也实现了,这需要用户提供的有效数字的计算值中所需的数量作为一个额外的输入参数的功能。使用这种权衡,它表明,该算法的效率可以进一步显着提高,同时保持合理的准确性和安全的结果,是免费的陷阱和其他竞争技术中看到的准确性完全丧失。当前版本的代码是在Matlab和Scilab中提供的,此外还提供了Fortran翻译,以满足实际问题的需要,其中大量的函数计算需要使用编译语言。为了满足这最后一个要求,最近提出的改革版本Humlicek的w 4例程,保持声称的精度的算法在一个广泛和精细的网格是在本Fortran翻译的情况下,4有效数字。这后一种修改确保了代码的可靠性,以用于解决实际问题,需要大量的评估功能的应用容忍低精度计算(<10-4)。
英文摘要:
This remark describes efficiency improvements to Algorithm 916 [Zaghloul and Ali 2011]. It is shown that the execution time required by the algorithm, when run at its highest accuracy, may be improved by more than a factor of two. A better accuracy vs efficiency trade off scheme is also implemented; this requires the user to supply the number of significant figures desired in the computed values as an extra input argument to the function. Using this trade-off, it is shown that the efficiency of the algorithm may be further improved significantly while maintaining reasonably accurate and safe results that are free of the pitfalls and complete loss of accuracy seen in other competitive techniques. The current version of the code is provided in Matlab and Scilab in addition to a Fortran translation prepared to meet the needs of real-world problems where very large numbers of function evaluations would require the use of a compiled language. To fulfill this last requirement, a recently proposed reformed version of Humlicek's w4 routine, shown to maintain the claimed accuracy of the algorithm over a wide and fine grid is implemented in the present Fortran translation for the case of 4 significant figures. This latter modification assures the reliability of the code to be employed in the solution of practical problems requiring numerous evaluation of the function for applications tolerating low accuracy computations (<10-4).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。