English

Strassen's Matrix Multiplication Algorithm for Matrices of Arbitrary Order

Numerical Analysis 2011-05-25 v2 Symbolic Computation

Abstract

The well known algorithm of Volker Strassen for matrix multiplication can only be used for (m2k×m2k)(m2^k \times m2^k) matrices. For arbitrary (n×n)(n \times n) matrices one has to add zero rows and columns to the given matrices to use Strassen's algorithm. Strassen gave a strategy of how to set mm and kk for arbitrary nn to ensure nm2kn\leq m2^k. In this paper we study the number dd of additional zero rows and columns and the influence on the number of flops used by the algorithm in the worst case (d=n/16d=n/16), best case (d=1d=1) and in the average case (dn/48d\approx n/48). The aim of this work is to give a detailed analysis of the number of additional zero rows and columns and the additional work caused by Strassen's bad parameters. Strassen used the parameters mm and kk to show that his matrix multiplication algorithm needs less than 4.7nlog274.7n^{\log_2 7} flops. We can show in this paper, that these parameters cause an additional work of approx. 20 % in the worst case in comparison to the optimal strategy for the worst case. This is the main reason for the search for better parameters.

Keywords

Cite

@article{arxiv.1007.2117,
  title  = {Strassen's Matrix Multiplication Algorithm for Matrices of Arbitrary Order},
  author = {Ivo Hedtke},
  journal= {arXiv preprint arXiv:1007.2117},
  year   = {2011}
}

Comments

8 pages, 2 figures

R2 v1 2026-06-21T15:47:33.305Z