What is the best matrix multiplication algorithm?

guest picture guest · Dec 15, 2010 · Viewed 17k times · Source

What is the best matrix multiplication algorithm? What means 'the best'for me? It means the fastest and ready for todays machines.

Please give links to pseudocode if you can.

Answer

Antonin Portelli picture Antonin Portelli · Dec 16, 2010

BLAS is the best ready-to-use efficient matrix multiplication library. There are many different implementation. Here is a benchmark I made for some implementations on a MacBook Pro with dual-core Intel Core 2 Duo 2.66 GHz :

alt text

There are also other commercial implementations that I didn't test here :