更改

跳到导航 跳到搜索
添加3字节 、 2021年1月26日 (二) 18:41
第132行: 第132行:  
For example, the usual algorithm for integer multiplication has a complexity of <math>O(n^2),</math> this means that there is a constant <math>c_u</math> such that the multiplication of two integers of at most  digits may be done in a time less than <math>c_un^2.</math> This bound is sharp in the sense that the worst-case complexity and the average-case complexity are <math>\Omega(n^2),</math> which means that there is a constant <math>c_l</math> such that these complexities are larger than <math>c_ln^2.</math> The radix does not appear in these complexity, as changing of radix changes only the constants <math>c_u</math> and <math>c_l.</math>
 
For example, the usual algorithm for integer multiplication has a complexity of <math>O(n^2),</math> this means that there is a constant <math>c_u</math> such that the multiplication of two integers of at most  digits may be done in a time less than <math>c_un^2.</math> This bound is sharp in the sense that the worst-case complexity and the average-case complexity are <math>\Omega(n^2),</math> which means that there is a constant <math>c_l</math> such that these complexities are larger than <math>c_ln^2.</math> The radix does not appear in these complexity, as changing of radix changes only the constants <math>c_u</math> and <math>c_l.</math>
   −
例如,通常整数'''<font color="#ff8000"乘法 multiplication</font>'''的复杂度是<math>o(n^2)</math>,这这意味着存在一个常数<math>c_u</math>,使得两个最多{{mvar|n}}位数的整数乘法可以在小于<math>c_un^2.</math>的时间内完成。这个界限是尖锐的,因为最坏情况的复杂度和平均情况的复杂度是 < math > Omega (n ^ 2) </math > 这意味着存在一个常数 < math > c _ l </math > ,这些复杂度比 < math > c _ ln ^ 2大。这些复杂性中没有出现基数,因为基数的变化只有常数[ math > c _ u ][ math > c _ l ]。数学
+
例如,通常整数'''<font color="#ff8000">乘法 multiplication</font>'''的复杂度是<math>O(n^2),</math>,这意味着存在一个常数<math>c_u</math>,使得两个最多{{mvar|n}}位的整数乘法可以在小于<math>c_un^2.</math>的时间内完成。这个界限是尖锐的,因为最坏情况复杂度和平均情况复杂度是<math>\Omega(n^2),</math>,意味着存在一个常数<math>c_l</math>,使得这些复杂度比<math>c_ln^2.</math>大。这些复杂度中没有出现'''<font color="#ff8000">基数 radix</font>''',因为基数只改变常数<math>c_u</math>和<math>c_l.</math>
    
==Models of computation==
 
==Models of computation==
307

个编辑

导航菜单