fast matrix multiplication in Matlab

前端 未结 5 2015
孤城傲影
孤城傲影 2020-12-21 10:46

I need to make a matrix/vector multiplication in Matlab of very large sizes: \"A\" is an 655360 by 5 real-valued matrix that are not necessarily sparse and \"B\" is a 655360

5条回答
  •  鱼传尺愫
    2020-12-21 11:25

    Matlab's raison d'etre is doing matrix computations. I would be fairly surprised if you could significantly outperform its built-in matrix multiplication with hand-crafted tools. First of all, you should make sure your multiplication can actually be performed significantly faster. You could do this by implementing a similar multiplication in C++ with Eigen.

提交回复
热议问题