知识卡片

普通读书笔记卡 · 3602.a.1.b

矩阵乘法须权衡误差

理解等级:中级

Strassen 的渐近乘法次数较少,但实际选择还取决于矩阵规模、稀疏性、缓存行为和数值误差。

书中指出其有限精度结果的误差通常大于三次方算法;工程实现应结合输入结构与精度要求测量,而非只按大 O 选择。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 第4章 分治策略 · 查看原书依据

      When using limited-precision floating-point values, Strassen’s algorithm produces larger numerical errors than the Θ(n3) algorithms do, although Higham [215] demonstrated that Strassen’s algorithm is amply accurate for some applications.

    参考来源

    - 位置:《算法导论(第4版)》第 4 章 Problems 与 Chapter notes(`OEBPS/chapter004.xhtml`,文本字符 [95000, 98409);相关公式图 Art_P231–P244)。 - 结论依据:第4章章末注释指出 Strassen 在大规模稠密矩阵可能实用,稀疏算法在稀疏输入可能更快,且有限精度下其误差通常大于三次方算法。 - 原始内容:When using limited-precision floating-point values, Strassen’s algorithm produces larger numerical errors than the Θ( n 3 ) algorithms do, although Higham [ 215 ] demonstrated that Strassen’s algorithm is amply accurate for some applications.