how to speed up a vector cross product calculation

后端 未结 2 890
死守一世寂寞
死守一世寂寞 2020-12-03 15:07

Hi I\'m relatively new here and trying to do some calculations with numpy. I\'m experiencing a long elapse time from one particular calculation and can\'t work out any faste

2条回答
  •  一个人的身影
    2020-12-03 16:00

    While writing dynamic simulations for underwater vehicles I have found this method for fast cross product:

    https://github.com/simena86/Simulink-Underwater-Robotics-Simulator/blob/master/3rdparty/gnc_mfiles/Smtrx.m

    Which works well, it is written in Matlab but the code is very simple. Just read the comments at the top.

提交回复
热议问题