Linear algebra and matrix manipulation library for Actionscript 3
While developing the CleVR Stitcher, I needed to do quite a bit of linear algebra. I was disappointed to find that there was no Actionscript library out there for doing this, so I had to write my own. Rather than doing it from scratch, I decided to start with NIST’s Java Matrix library: JAMA, which is in the public domain.
For the benefit of anyone else needing to do stuff like this, I’m releasing the library. It’s not a full port, as I only implemented the stuff that I need. It does however support most regular operations for manipulating real matrices. As well as the normal algebra stuff, it includes classes for singular value decomposition and QR decomposition. I hope others find it useful. Let me know if you’re using it. A link back to clevr.com from your site would be appreciated but is not required.
Download it as part of the CleVR Actionscript Library


March 5th, 2009 at 6:12 pm GMT
Anyone using this? Is there documentation of the API?
March 5th, 2009 at 6:29 pm GMT
There’s no specific documentation, though the code is commented and should be self-explanatory if you know the concepts. I did a post explaining how to use the interpolation classes for image resizing.
March 5th, 2009 at 6:33 pm GMT
(This post: http://www.clevr.com/blog/2008/resize-actionscript-bicubic-bilinear-interpolation/ )
March 23rd, 2009 at 5:58 am GMT
[...] finished porting over the Java Matrix Library from Java into Actionscript. While I know that the Clevr AS3 library is available ( and its also a Jama port), its an incomplete port and I needed to use functions such [...]