小编Nat*_*ate的帖子

有时,用python和mathematica计算的特征向量具有相反的符号,有人知道为什么吗?

I am trying to calculate the eigenvectors of many 3x3 matrices using python. My code in python is based on code from Mathematica which uses the Eigenvector[] function. I have tried using the eig() function from both numpy and scipy and the majority of the time the eigenvectors calculated in mathematica and python are identical. However, there are a few instances which the eigenvectors calculated in python are opposite in sign to those calculated in mathematica.

I have already tried …

python wolfram-mathematica eigenvector

5
推荐指数
1
解决办法
90
查看次数

标签 统计

eigenvector ×1

python ×1

wolfram-mathematica ×1