开发者

High Performance Math Library for Vector And Matrix Calculations

开发者 https://www.devze.com 2023-03-04 02:51 出处:网络
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 i

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.

High Performance Math Library for Vector And Matrix Calculations


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:

  1. Make use of SSE instructions.
  2. If you've got the money, the Intel maths library is meant to be excellent, as is their compiler.
  3. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号