EigenvalueDecomposition problems


Hi, I don't know if I miss something but your EigenvalueDecomposition class doesn't give the same answer as Matlab (or my calculator TI92+) for a non symetric matrix.  The property is repected (A*V = lamda*V).  Where is the problem?
 
I'm trying to do study a little of principal component analysis and this confuse that your package doesn't give the same answer.
 
I try with this matrix:
 
[7  2 3]
[40 5 6]
[70 8 9]
 
 
 
Matlab give me this answer:
eigen vectors =
 
   0.1692    0.2463    0.0350
   0.5141   -0.3766   -0.8676
   0.8409   -0.8930    0.4961

eigen values =
 
   27.9806         0         0
         0   -6.9342         0
         0         0   -0.0464

JAMA package give me this:
eigen vectors =
 
    0.169242    0.572876    0.036726
    0.514121   -0.875936   -0.909289
    0.840855   -2.076901    0.519931
eigen values =
 
27.980608       0.000000    0.000000
    0.000000   -6.934222    0.000000
    0.000000    0.000000   -0.046386

As you can see, something is wrong!
 
Can you help me please!


Date Index | Thread Index | Problems or questions? Contact list-master@nist.gov