eigenvectors from numpy.eig not orthogonal

前端 未结 2 1633
你的背包
你的背包 2021-01-23 08:18

my problem is the following: using scipy.linalg.eig to get eigenvectors and eigenvalues i see that all my eigenvalues have multiplicity 1 yet when i run the code below it doesn\

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-23 08:41

    Why should they be orthogonal? Your matrix

    a=matM(60000)
    

    is far from being symmetric,

    abs(a-a.T).max() -> 2.16
    

    with

    abs(a).max() -> 1.08
    

    so I wouldn't necessarily expect orthogonal eigenvectors. Is it possibile that the function matM or the data matA or matB is wrong?

提交回复
热议问题