arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.17396math.NAcs.NA
收藏

用于计算矩阵多项式的混合精度 Paterson–Stockmeyer 方法

Mixed-Precision Paterson--Stockmeyer Method for Evaluating Polynomials of Matrices

Xiaobo Liu

AI总结:

本文提出混合精度 Paterson–Stockmeyer 矩阵多项式求值方法,通过以低精度处理小幅值数据降低高精度计算成本,并验证其在矩阵指数、余弦等逼近中的效率与精度。

摘要:

Paterson–Stockmeyer 方法是一种针对具有标量系数的矩阵多项式的求值方案,这类多项式出现在许多基于多项式或有理逼近的先进算法中,例如用于计算超越矩阵函数的算法。我们推导了 Paterson–Stockmeyer 方法的一个混合精度版本,该版本对于求值系数幅值衰减的标量系数矩阵多项式尤为有用。这种新方法主要适用于任意精度运算,并对高精度计算具有吸引力。其核心思想是以低精度对小幅值数据执行计算,同时针对使用低于工作精度的情形给出了舍入误差分析。我们聚焦于矩阵指数的 Taylor 逼近式求值,并展示了本方法对现有 scaling and squaring(缩放与平方)算法的适用性。我们还通过实验证明了本方法对其他问题的普遍适用性,例如计算来自矩阵指数 Padé 逼近式和矩阵余弦 Taylor 逼近式的多项式。数值实验表明,我们的混合精度 Paterson–Stockmeyer 算法在提供同等精度水平的同时,可比其固定精度对应算法更高效。

英文摘要:

The Paterson--Stockmeyer method is an evaluation scheme for matrix polynomials with scalar coefficients that arise in many state-of-the-art algorithms based on polynomial or rational approximation, for example, those for computing transcendental matrix functions. We derive a mixed-precision version of the Paterson--Stockmeyer method that is particularly useful for evaluating matrix polynomials with scalar coefficients of decaying magnitude. The new method is mainly of interest in the arbitrary precision arithmetic, and it is attractive for high-precision computations. The key idea is to perform computations on data of small magnitude in low precision, and rounding error analysis is provided for the use of lower-than-the-working precisions. We focus on the evaluation of the Taylor approximants of the matrix exponential and show the applicability of our method to the existing scaling and squaring algorithms. We also demonstrate through experiments the general applicability of our method to other problems, such as computing the polynomials from the Padé approximant of the matrix exponential and the Taylor approximant of the matrix cosine. Numerical experiments show our mixed-precision Paterson--Stockmeyer algorithms can be more efficient than its fixed-precision counterpart while delivering the same level of accuracy.

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

↑