网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Karatsuba Multiplication
释义

Karatsuba Multiplication

中文百科

Karatsuba算法 Karatsuba algorithm

(重定向自Karatsuba Multiplication)

Karatsuba算法是一种快速相乘算法,它由Anatolii Alexeevitch Karatsuba于1960年提出并于1962年发表。它将两个n位数字相乘所需的一位数乘法次数减少到了至多3 n^{\log_23}\approx 3 n^{1.585}(如果n是2的乘方,则正好为n^{\log_23})。因此它比要n次个位数乘法的经典算法要快。例如,对于两个1024位的数相乘(n = 1024 = 2),Karatsuba算法需要3 = 59,049次个位数乘法,而经典算法需要(2) = 1,048,576次。Toom–Cook算法是此算法更快速的泛型。对于充分大的nn >> 1),Schönhage–Strassen algorithm算法甚至更快,算法的时间复杂度为O(n\log n\log \log n)

英语百科

Karatsuba algorithm Karatsuba算法

(重定向自Karatsuba Multiplication)

The Karatsuba algorithm is a fast multiplication algorithm. It was discovered by Anatoly Karatsuba in 1960 and published in 1962. It reduces the multiplication of two n-digit numbers to at most  n^{\log_23}\approx n^{1.585} single-digit multiplications in general (and exactly n^{\log_23} when n is a power of 2). It is therefore faster than the classical algorithm, which requires n single-digit products. For example, the Karatsuba algorithm requires 3 = 59,049 single-digit multiplications to multiply two 1024-digit numbers (n = 1024 = 2), whereas the classical algorithm requires (2) = 1,048,576.

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/19 0:01:18