For faster navigation, this Iframe is preloading the Wikiwand page for 施特拉森演算法.

施特拉森演算法

此條目或其章節极大或完全地依赖于某个单一的来源。 (2014年9月3日)请协助補充多方面可靠来源改善这篇条目。致使用者:请搜索一下条目的标题(来源搜索:"施特拉森演算法"网页新闻书籍学术图像),以检查网络上是否存在该主题的更多可靠来源(判定指引

施特拉森演算法(英語:Strassen algorithm)是一個計算矩陣乘法演算法,時間複雜度為

簡介

[编辑]
矩陣乘法演算法的演進。

施特拉森演算法在1969年由沃爾克·施特拉森所提出,是第一個時間複雜度低於矩陣乘法演算法。由於演算法簡單理解,且為第一個被提出來的特性,常被演算法教材拿來當作主定理(英語:Master theorem)計算時間複雜度的例子。

另外,因為施特拉森演算法證明了矩陣乘法存在時間複雜度低於的演算法,使得更多學者投入研究,尋找更快的演算法。

算法

[编辑]

定義

[编辑]

上的方矩陣。求兩者的積。一般矩陣可以填0的方法計算令它成為矩陣

計算

[编辑]

A, B, C分成相等大小的方塊矩陣:

於是

引入新矩陣

可得:

其中的計算也是使用施特拉森演算法求得。

評論

[编辑]

一般矩陣乘法的時間複雜度為,施特拉森演算法因為只有每次的分治法(英語:Divide and conquer algorithm)只有七個矩陣乘法運算,所以依照主定理(英語:Master theorem)可以得出時間複雜度為。但Strassen演算法的數值穩定性較差。

現時時間複雜度最低的矩陣乘法演算法是Coppersmith-Winograd方法的一种扩展方法,其算法复杂度为)。[1]

相關連結

[编辑]

参考来源

[编辑]
  1. ^ Virginia Vassilevska Williams. Multiplying matrices faster than Coppersmith-Winograd (PDF). [2014-01-14]. (原始内容存档 (PDF)于2013-10-08). 而1990年Coppersmith-Winograd方法提出时的算法复杂度为
{{bottomLinkPreText}} {{bottomLinkText}}
施特拉森演算法
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?