开发者

Implement matlab code in C++?

开发者 https://www.devze.com 2023-01-26 05:29 出处:网络
I have a certain code written in Matlab. I wanted to obtain similar results using a c++ code. I wanted to know whether a c++ l开发者_StackOverflowibrary existsfor matrix manipulations? My current Matl

I have a certain code written in Matlab. I wanted to obtain similar results using a c++ code. I wanted to know whether a c++ l开发者_StackOverflowibrary exists for matrix manipulations? My current Matlab code consists of matrix multiplications,inverse and complements.


There are dozens of linear algebra libraries for C++. Here is another one not mentioned in the other links so far:

http://www.alglib.net/


I have used Newmat in a similar situation.


Not sure if this would help you, or your company/university have licenses for it but matlabcoder can export your matlab code to c++ without much extra work. http://www.mathworks.com/products/matlab-coder/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号