[C++] Good Matrix library?

Discussion about everything. New games, 3d math, development tips...
Post Reply
Masterhawk
Posts: 299
Joined: Mon Nov 27, 2006 6:52 pm
Location: GERMANY
Contact:

[C++] Good Matrix library?

Post by Masterhawk »

Hey guys,
does anyone of you know a good c++ implementation for matrix manipulation.
This code should be able to handle at least 6x6 matrices in calculation of determinants and inversions.
I currently have a piece of code but it seems it delivers inappropriate results.

thx, masterhawk
Image
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

If you need heavy linear algebra use BLAS or ATLAS for super-computing power. Otherwise check with the processor companies, they have decent math libraries.
Masterhawk
Posts: 299
Joined: Mon Nov 27, 2006 6:52 pm
Location: GERMANY
Contact:

Post by Masterhawk »

thx hybrid...i will have a look at your suggestions
Image
CodeGen
Posts: 13
Joined: Tue Apr 21, 2009 5:12 pm

Post by CodeGen »

A good math library is shipped with Doom3/Quake4/PREY SDK ( in idLib ).
They have several matrix classes ( 2x2, ..., 6x6, and even generic XxX ).
And in those SDKs practically various versions of idLib exist, they have been modified "for performance", so you may want to check them all.
Post Reply