循环置换与欧几里得算法中余数和的成本
The cost of cyclic permutations and remainder sums in the Euclidean algorithm
AI总结:
本文提出改进的块交换方案,实现原地旋转,平均移动成本为1.85次,最坏情况为3次,基于欧几里得算法余数和的渐进行为分析。
摘要:
我们讨论了对Gries-Mills块交换方案的修改,以实现原地旋转,平均成本为每个元素1.85次移动,最坏情况性能仍为每个元素3次移动。平均情况的分析依赖于欧几里得算法中余数和的渐进行为。
英文摘要:
We discuss a modification to the Gries-Mills block swapping scheme for in-place rotation with average costs of 1.85 moves per element and worst case performance still at 3 moves per element. Analysis of the average case relies on the asymptotic behavior of the sum of remainders in the Euclidean algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。