avatar
Matrix calculation in C++# Programming - 葵花宝典
e*l
1
I'm migrating my MATLAB codes into C++ to speed up the calculation. Can
anyone recommend me some libraries for linear algebra?
I am considering the following choices:
1. uBLAS in the BOOST library
2. GNU Scientific Library (GSL)
3. Copy the codes from Numerical Recipes
Does anyone know which one is better? Or any other suggestions? Thanks
.
avatar
e*a
2
co-ask:
can anybody suggest anything here?
thanks,
avatar
P*e
3
search matrix.h on google
whole bunch of open source, pick one depend upon your need

【在 e***a 的大作中提到】
: co-ask:
: can anybody suggest anything here?
: thanks,

avatar
y*g
4
intel MKL
但不是free的

【在 e*******l 的大作中提到】
: I'm migrating my MATLAB codes into C++ to speed up the calculation. Can
: anyone recommend me some libraries for linear algebra?
: I am considering the following choices:
: 1. uBLAS in the BOOST library
: 2. GNU Scientific Library (GSL)
: 3. Copy the codes from Numerical Recipes
: Does anyone know which one is better? Or any other suggestions? Thanks
: .

avatar
s*e
5
LAPACK

【在 e*******l 的大作中提到】
: I'm migrating my MATLAB codes into C++ to speed up the calculation. Can
: anyone recommend me some libraries for linear algebra?
: I am considering the following choices:
: 1. uBLAS in the BOOST library
: 2. GNU Scientific Library (GSL)
: 3. Copy the codes from Numerical Recipes
: Does anyone know which one is better? Or any other suggestions? Thanks
: .

avatar
k*n
6
Don't use Numerical Recipes, it has worst performance.
GSL is a good choice, but has to be compiled with some top libs like MKL
which is not free. You can compile GSL by using ATLAS which is a little
slower than MKL, but free. Essentially, ATLAS is an optimized BLAS + part of
LAPACK.
If you don't mind call FORTRAN from C++, you can call BLAS/LAPACK or ATLAS
directly.
avatar
k*n
7
Don't use Numerical Recipes, it has worst performance.
GSL is a good choice, but has to be compiled with some top libs like MKL
which is not free. You can compile GSL by using ATLAS which is a little
slower than MKL, but free. Essentially, ATLAS is an optimized BLAS + part of
LAPACK.
If you don't mind call FORTRAN from C++, you can call BLAS/LAPACK or ATLAS
directly.
avatar
g*e
8
clapack 和 lapack++
从网上down的包里有vc的工程文件,
用vc7.1编译,编译出的lib文件放在编译器的
lib目录里,dll是动态链接库,可以放在程序
目录里。
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。