C libraries for mathematical matrix operations [closed]

不羁的心 提交于 2019-11-29 01:10:40

问题


I know there are some optimized algorithms around for all kind of matrix decompositions (QR decomposition, SVD,...), multiplications and the likes. Yet, I couldn't find a good overview. For C++, there is quite some useful information in this question, but I'm looking for those things in C.


回答1:


You did not mention whether you wanted an open-source or a commercial software, so here is a list containing both:

  • GNU Scientific Library (GSL)
  • Basic Linear Algebra Subprograms (BLAS)
  • Meschach
  • Numerical Algorithms Group (NAG)

There was also this previous question on the subject.




回答2:


You might want to take a look at BLAS and LAPACK. These are written in Fortran, but are callable from C, and are pretty much the standard libraries of this type.

Most serious linear algebra packages that I know of (MATLAB, Octave, NumPy) are built using these.




回答3:


Perhaps GNU Scientific Library (GSL) would be of interest.

http://www.gnu.org/software/gsl/

Documentation topics: http://www.gnu.org/software/gsl/manual/html_node/



来源:https://stackoverflow.com/questions/4501322/c-libraries-for-mathematical-matrix-operations

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