High Performance Math Library for Vector And Matrix Calculations
Where Can i find fast library for vector and Matrix Calculations? I need high performance.
Update:I need it for games cal开发者_StackOverflowculations.
Go for Blaze. Also check out the bench marking in parallel cores setup. Its certainly the fastest.
Edit: Sorry, I'm not high enough to add comments anywhere but just noticed you mentioned it is for games, unless you are writing your engine in software without any hardware acceleration, then the benefits you will get from the matrix manipulations (assuming that they are for TCL) are about nil in comparison to the rest of your code.
I can't link you to any particular library, but as you are specifying high performance a couple of suggestions that may help if nobody is forthcoming with a few libraries for you:
- Make use of SSE instructions.
- If you've got the money, the Intel maths library is meant to be excellent, as is their compiler.
- Vector and matrix calculations are the sort of things that GPUs excel at. It may be worth your while looking at something like CUDA from nVidia.
Eigen is supposed to be very good:
Eigen
If you have an x86 system, you can use the Intel Math Kernel Library.
http://software.intel.com/en-us/articles/intel-mkl/
I was able to pull out 50 GFlops during linpack on my old quad box.
Another option may be cuda
You might want to have a look at the math library of Geometric Tools. And if you're not creating your own engine, you might want to look at something like OGRE for the complete package.
精彩评论