Skip to content

rakgnarr/StrassenAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StrassenAlgorithm

This is an implementation of Strassen Matrix Multiplication Algorithm that uses Divide and Conqure. The standard matrix multiplication has the time complexity of Θ(N^3). which has 8 multiplications Strassen Matrix Multiplication has only 7 multiplications. Therefore, resulting in a time complexity of: image

image

The matricies have to be n x n matricies. The input file should be in the format:

image

first line is the size of the square matrix n then define matrix A of size n x n then define matrix B of size n x n

the input file should be: input.txt the output file after executing will be: output.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages