问题
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