nnaisense/pytorch_sym3eig

Incorrect Eigenvalues

Opened this issue · 0 comments

Hi,

Thank you very much for the implementation.

Your implementation resulted in the below Eigenvalues and Eigenvectors.
Covariance_Matrix = [[0.098846,0.029067,-0.042707],
[0.029067,0.129853,-0.006902],
[-0.042707,-0.006902,0.045574]]
EigenValues = [0.000685,0.003148,0.005015]
EigenVectors = [[-0.596732,-0.624927,0.503365],
[-0.752320,0.653919,-0.080025],
[0.279150,0.426445,0.860360]]

However, if I use a numpy library, I get the below results.
image

The Eigenvectors are the same. However, the Eigenvalues are different.
Can you please check what the issue is?

Thanks in advance