sparse matrix library for C++ [closed]

坚强是说给别人听的谎言 提交于 2019-11-29 00:12:39
dranxo

http://www.mcs.anl.gov/petsc/ has a lot of built in linear algebra and ca distribute matrices over a cluster when your data gets big. There's also an active following on https://scicomp.stackexchange.com/ when you have technical questions. The downside is that the learning curve is a bit steep.

Ali

Can someone recommend some libraries for me?

If you recommend, please tell me the advantages and disadvantages of it, and the reason why you recommend it.

When it comes to large-scale sparse stuff, I personally use the Harwell Subroutine library. It's written in Fortran and it is a pain to interface it with C++. Nevertheless, I use it because it is robust and fast.

Boost would be a good place to start. The libraries are free, well supported, well documented, fast and portable.

Eigen library has good support for spars matrix manipulation, and the most appealing feature is that its style is like Matlab.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!