trap in C++: Numerical recipies vs. MTL or Blitz?
楼主 · 1 楼
I haven been using Matlab for years for my computation. However, the
Matlab speed sometimes is untolerable, especially involving lots of loops,
such as simulation.
Recently, I have a computation problem about Markov Decision Process, which has huge state spaces ( matrix). And the generation of the transition matrix is painfully slow in Matlab. I am going to code it in C++. However, it seems that there is not a standard C++ lib for all computations. I have to look here and there and pickup different libs. It is also so annoying. I heard of MTL and Blitz are good for matrix computation. But I am also wondering nuerical recipies, since it has lots of functions ( the main reason I don't like C++ is that it is hard to find all those convenient functions as in Matlab).
Any advises are welcome!
thanks,
platogao@gmail.com
Recently, I have a computation problem about Markov Decision Process, which has huge state spaces ( matrix). And the generation of the transition matrix is painfully slow in Matlab. I am going to code it in C++. However, it seems that there is not a standard C++ lib for all computations. I have to look here and there and pickup different libs. It is also so annoying. I heard of MTL and Blitz are good for matrix computation. But I am also wondering nuerical recipies, since it has lots of functions ( the main reason I don't like C++ is that it is hard to find all those convenient functions as in Matlab).
Any advises are welcome!
thanks,
platogao@gmail.com
2 楼
Don't have too much idea, maybe the you can consider
1) MatCom
2) Numerical Recipes in C instead of C++
3) Buy the fastest PC or use Main Frame + a good Fortran Compiler + IMSL library
1) MatCom
2) Numerical Recipes in C instead of C++
3) Buy the fastest PC or use Main Frame + a good Fortran Compiler + IMSL library