Matrix multiplication: Strassen vs. Standard

前端 未结 5 1503
萌比男神i
萌比男神i 2021-02-06 16:38

I tried to implement the Strassen algorithm for matrix multiplication with C++, but the result isn\'t that, what I expected. As you can see strassen always takes more time then

5条回答
  •  误落风尘
    2021-02-06 17:35

    Long shot, but have you considered that the standard multiplication may be optimised by the compiler? Could you switch off optimisations?

提交回复
热议问题