物理学 > 计算物理
[提交于 2022年6月17日]
标题:Not-Quite Transcendental Functions and their Applications
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Transcendental functions, such as exponentials and logarithms, appear in a broad array of computational domains: from simulations in curvilinear coordinates, to interpolation, to machine learning. Unfortunately they are typically expensive to compute accurately. In this note, we argue that in many cases, the properties of the function matters more than the exact functional form. We present new functions, which are not transcendental, that can be used as drop-in replacements for the exponential and logarithm in many settings for a significant performance boost. We show that for certain applications using these functions result in no drop in the accuracy at all, as they are perfectly accurate representations of themselves, if not the original transcendental functions.
提交历史
来自:Jonah Miller[v1] 2022年6月17日 星期五 18:14:10 UTC