Looking for a vector and metrix class

Hello everybody,

I started programming about half a year ago, so I'm still pretty inexperienced. I'm currently working on a 3D Application for a school project, but I still need a vector class and a matrix class as I will need affine transformations (not sure if this is the correct word). Does anybody know where I can find source code for those?

Many thanks

edit: I forgot to mention that it'd be nice if the two classes were compatible with each other

Re: Looking for a vector and metrix class

Well, you could check out the Java Vector Class and there is JAMA, a Java Matrix Package although I have never used that. Why invent the wheel if you can get one from the junkyard and reuse it?

Re: Looking for a vector and metrix class

Allthough it can be fun to implement your own Vector and Matrix classes and make them work together exactly how you want them to ...

kind regards,

Jos

Re: Looking for a vector and metrix class

No argument there, but since he wanted the source code, I figured there wasn't going to be much in the way of implementing his own. :=(: