连对数算法分析
Analysis of the Continued Logarithm Algorithm
摘要:
连续对数算法(Continued Logarithm Algorithm,简称CL)是由Goelon在1978年提出的,它可以计算两个整数的gcd;它看起来非常有效,因为它只执行移位和减法。Shallit在2016年研究了其最坏情况的复杂性,并表明它是线性的。我们在这里执行的平均情况下的算法分析:我们研究其主要参数(迭代次数,总的移位数),并获得精确的平均值的渐近。我们的“动态”分析涉及的动力系统的算法,产生连续的分数扩展的幂是2。尽管这个CL系统已经被Chan(大约2005年)研究过,但是在中心参数中2的幂的存在使中心参数具有一种二元的味道,这种味道不能仅仅通过研究CL系统来理解。因此,我们引入一个并元组件和处理的两个组件系统。有了这个新的混合系统在手,我们然后提供了一个完整的平均情况下分析的CL算法,显式常数。
英文摘要:
The Continued Logarithm Algorithm - CL for short- introduced by Gosper in 1978 computes the gcd of two integers; it seems very efficient, as it only performs shifts and subtractions. Shallit has studied its worst-case complexity in 2016 and showed it to be linear. We here perform the average-case analysis of the algorithm: we study its main parameters (number of iterations, total number of shifts) and obtain precise asymptotics for their mean values. Our 'dynamical' analysis involves the dynamical system underlying the algorithm, that produces continued fraction expansions whose quotients are powers of 2. Even though this CL system has already been studied by Chan (around 2005), the presence of powers of 2 in the quotients ingrains into the central parameters a dyadic flavour that cannot be grasped solely by studying the CL system. We thus introduce a dyadic component and deal with a two-component system. With this new mixed system at hand, we then provide a complete average-case analysis of the CL algorithm, with explicit constants.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。