C库为线性代数 [英] C library for linear algebra
本文介绍了C库为线性代数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请,给我一个高性能的C库为线性代数(矩阵代数,特征值,特征向量等)的一些技巧。既可以是开源还是闭源。
解决方案
修改感谢来自osgx评论:
- CLAPACK是乌德引擎盖使用非常高性能的BLAS库,做其他的库,例如ATLAS库。
- GSL是一个独立的C库,没有那么快,因为任何基于BLAS。不过其性能还是相当不错的(不是的非常的虽好),并用于经常;主要是因为它的便携性。
我知道LAPACK和GSL和我都可以推荐他们两个。 LAPACK是非常低级的库和GSL可能是使用更舒适,但性能好说话 - 基于BLAS库是
Please, give me some tips for a HIGH PERFORMANCE C library for linear algebra (matrix algebra, eigenvalues, eigenvectors etc.). Can be both open-source or closed-source.
解决方案
EDIT Thanks to comments from osgx:
- CLAPACK is the library which uder the hood uses very high-performance BLAS library, as do other libraries, like ATLAS.
- GSL is a standalone C library, not as fast as any based on BLAS. However its performance is still quite good (not extremely good though) and is used quite often; mostly because of its portability.
I know both LAPACK and GSL and I can recommend both of them. LAPACK is very low-level library and GSL may be more comfortable to use, but speaking of good performance -- BLAS-based library it is.
这篇关于C库为线性代数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文