arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.01753cs.SC
收藏

使用精确算术的高效通用商

Efficient Generic Quotients Using Exact Arithmetic

Stephen M. Watt

AI总结:

本文提出使用整体移位逆元和改进的牛顿迭代法,在不离开原始域的情况下高效计算商,解决了传统除法导致算术域相互依赖的问题,适用于整数及系数不可交换的多项式等域。

摘要:

高效的除法通常使用牛顿迭代法在存在乘法逆元的相关域中计算逆元。一方面,牛顿迭代法允许使用高效的乘法方法计算商。另一方面,在另一个域中工作并不总是理想的,且可能导致算术域相互依赖的库结构。本文使用整体移位逆元和改进的牛顿迭代法的概念,在不离开原始域的情况下高效计算商。该迭代对于具有合适移位操作的域是通用的,例如整数或系数不一定可交换的多项式。

英文摘要:

The usual formulation of efficient division uses Newton iteration to compute an inverse in a related domain where multiplicative inverses exist. On one hand, Newton iteration allows quotients to be calculated using an efficient multiplication method. On the other hand, working in another domain is not always desirable and can lead to a library structure where arithmetic domains are interdependent. This paper uses the concept of a whole shifted inverse and modified Newton iteration to compute quotients efficiently without leaving the original domain. The iteration is generic to domains having a suitable shift operation, such as integers or polynomials with coefficients that do not necessarily commute.

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

↑