Does anyone know a good Matrix library for C++?

I'm using MSVC++.NET.

I need to add, multiply and invert matrices.

Printable View

- 08-31-2002Sang-draxC++ Matrix library needed
Does anyone know a good Matrix library for C++?

I'm using MSVC++.NET.

I need to add, multiply and invert matrices. - 08-31-2002MrWizardRe: C++ Matrix library neededQuote:

*Originally posted by Sang-drax*

**Does anyone know a good Matrix library for C++?**

I'm using MSVC++.NET.

I need to add, multiply and invert matrices.

- 08-31-2002Eibro
Try www.planet-source-code.com

I made my own awhile back... it's still sitting around here somewheres, albeit incomplete (without inverse functionality) - 09-01-2002Unregistered
Just put lots of 1's and 0's... :P

- 09-02-2002Sang-draxRe: Re: C++ Matrix library neededQuote:

*Originally posted by MrWizard*

**Seriously, it is pretty easy to create your own library. It is especially easy since you only need 3 distinct operations.**

Because of this, I thought it easier not to reinvent the wheel and use someone else's code.

BTW, I have now found a library that suits my needs. - 09-02-2002Shadow12345
Just be careful. With C++ matricies are row major, but with some libraries, i.e opengl, they are column major. So [0][3] in opengl is actually [3][0] in C++

- 09-02-2002Sang-drax
Heh, I noticed that. Caused me some trouble.

- 09-03-2002geophyzzer
I'm partial to the one at:

http://www.techsoftpl.com/matrix/index.htm

I use the shareware version as its sufficient for my needs, and contains all of the source code in the header file (for learning purposes).