Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rakgnarr/StrassenAlgorithm

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.