Matrices - Recursive Matrix Multiplication Strassen Algorithm - Mathematics Stack Exchange
Matrices - Recursive Matrix Multiplication Strassen Algorithm - Mathematics Stack Exchange
_
MathematicsStackExchangeisa Here'showitworks:
questionandanswersiteforpeople
studyingmathatanyleveland
professionalsinrelatedfields.Join
themitonlytakesaminute:
Anybodycanask Anybodycan Thebestanswersarevoted
Signup aquestion answer upandrisetothetop
Recursivematrixmultiplicationstrassenalgorithm
Iamhavingahardtimedoing4x4matrixmultiplicationusingstrassen'salgorithm.FirstIcomputedtheproductoftwo4x4matricesusing
defaultmatrixmultiplication(https://matrixcalc.org)
Inowwanttousestrassen'smethodwhichIlearnedasfollows:
Isplitthe4x4matrixin42x2matricesfirstandcalculatetheproductslikeintheimageabove:
http://math.stackexchange.com/questions/1854288/recursivematrixmultiplicationstrassenalgorithm/1854422 1/4
2/8/2017 matricesRecursivematrixmultiplicationstrassenalgorithmMathematicsStackExchange
WhenIputthepartsbacktogetherIgetadifferentresultcomparedtothedefaultmultiplication.CananyonepointoutwhatIamdoing
wrong?
Correctedcomputation:
http://math.stackexchange.com/questions/1854288/recursivematrixmultiplicationstrassenalgorithm/1854422 2/4
2/8/2017 matricesRecursivematrixmultiplicationstrassenalgorithmMathematicsStackExchange
(matrices ) (algorithms )
editedJul9'16at22:10 askedJul9'16at18:37
zab
130 5
2Answers
CheckyourcomputationofP . 2
A Bwhichisincorrect.
http://math.stackexchange.com/questions/1854288/recursivematrixmultiplicationstrassenalgorithm/1854422 3/4
2/8/2017 matricesRecursivematrixmultiplicationstrassenalgorithmMathematicsStackExchange
editedJul9'16at21:17 answeredJul9'16at20:41
Semihcan SiongThyeGoh
13 4 16.3k 3 17 35
Icorrectedthat,howeveritstilldoesnotgivemethecorrectresult.Apartfromwhatyoupointedout,doyou
seeanythingelseIamdoingwrong? zab Jul9'16at22:05
A Bwhichisincorrect.
answeredJul9'16at21:38
Semihcan
13 4
http://math.stackexchange.com/questions/1854288/recursivematrixmultiplicationstrassenalgorithm/1854422 4/4