e*******l 发帖数: 55 | 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
. |
e***a 发帖数: 18 | 2 co-ask:
can anybody suggest anything here?
thanks, |
P********e 发帖数: 2610 | 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,
|
y*******g 发帖数: 6599 | 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 : .
|
s******e 发帖数: 285 | 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 : .
|
k******n 发帖数: 35 | 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. |
k******n 发帖数: 35 | 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. |
g*********e 发帖数: 42 | 8 clapack 和 lapack++
从网上down的包里有vc的工程文件,
用vc7.1编译,编译出的lib文件放在编译器的
lib目录里,dll是动态链接库,可以放在程序
目录里。 |