Skip to content

condaatje/strassen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction:

In this assignment, we were asked to find (both experimentally and mathematically) the optimal crossover point for a hybrid implementation of Strassen’s algorithm and traditional matrix multiplication. While we saw in class and in previous assignments that the divide-and-conquer approach (with Strassen’s algebra trick) was asymptotically faster than the standard O(n3) algorithm, intuitively it was apparent that Strassen’s would run slower on small matrices. This is because (while there are 7 rather than 8 matrix multiplications) there are 18 additions/subtractions. So the standard method will be faster up to a certain point.

(see github.com/condaatje/strassen/blob/master/code2.pdf for the full writeup)

About

some manual matrix multiplication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published