High Performance Math Library for Vector And Matrix Calculations

11,750

Solution 1

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.

Solution 2

Go for Blaze. Also check out the bench marking in parallel cores setup. Its certainly the fastest.enter image description here

Solution 3

Eigen is supposed to be very good:

Eigen

Solution 4

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

Solution 5

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.

Share:
11,750
Saleh
Author by

Saleh

Updated on June 26, 2022

Comments

  • Saleh
    Saleh almost 2 years

    Where Can i find fast library for vector and Matrix Calculations? I need high performance.

    Update:I need it for games calculations.