Hi,
Jmat.eig([[-1,0,1],[3,0,-3],[1,0,-1]]).v.toString() gives us the following:
answer: [[-1.0000000000000002, 1.0000000000000113, 0], [2.9999999999999987, -50.64166161063003, 1], [1, 1, 0]]
(as tested here: http://lodev.org/jmat/jmat_demo.html and in the browser)
Everything is close enough except that -50.64166161063003 should be 0. (See: http://www.wolframalpha.com/input/?i=%7B%7B-1,0,1%7D,%7B3,0,-3%7D,%7B1,0,-1%7D%7D)
I just kind of wandered into this so I thought that I might report it. I recognize that this is probably not very helpful as to what the problem is, but tis what I have.
Hi,
Jmat.eig([[-1,0,1],[3,0,-3],[1,0,-1]]).v.toString() gives us the following:
answer: [[-1.0000000000000002, 1.0000000000000113, 0], [2.9999999999999987, -50.64166161063003, 1], [1, 1, 0]]
(as tested here: http://lodev.org/jmat/jmat_demo.html and in the browser)
Everything is close enough except that -50.64166161063003 should be 0. (See: http://www.wolframalpha.com/input/?i=%7B%7B-1,0,1%7D,%7B3,0,-3%7D,%7B1,0,-1%7D%7D)
I just kind of wandered into this so I thought that I might report it. I recognize that this is probably not very helpful as to what the problem is, but tis what I have.