Menu

Matrix package?

Developers
Pete
2014-12-08
2014-12-17
  • Pete

    Pete - 2014-12-08

    Hi.

    I began to wonder if there is a matrix math package hidden somewhere in AoI? I have had a look at the code that is written in AoI-Math and the matrix operations there seem to do exactly what they are designed for and nothing extra.

    There are of course benefits in tailoring the equations to the given purposes, but there are quite a few cases where extensions could use for example eigenvalue decomposition or just the matrix equations in their "raw" form. (Thinking about potential physics engines, OOB-fitting, kinematics, added rigging options ... etc..)

    I'm not sure, what I was looking at but I thought I saw a jama.jar somewhere once and I never found it again. If it was in a plugin, then it might not be accessible to others either?

    So, have I missed something, or is this a potential development case? (I used parts of Jama for something else a few years back and tailored some input methods into it, so the rest of the code needed less repetition. But as I recall, that was already an outdated version of Jama at the time already.)

    BR

    -P-

     
  • Luke S

    Luke S - 2014-12-08

    Hi, Pete. JAMA is still there. All of the library dependencies have been moved to /lib, and include JAMA 1.0.2 (Just one version behind latest - It appears that JAMA has not been updated in a while) and some of the AOI math classes use its functionality.

     
  • Pete

    Pete - 2014-12-17

    Thanks.

    Did a small test in bsh.

    import Jama.*;
    
    M1 = new Matrix(3,3);
    
    print (M1.toString());
    print (M1.rank());
    

    Works so far :)

     

Log in to post a comment.

MongoDB Logo MongoDB