Home > other >  Python numpy. Linalg. Eig sells its () function to solve the eigenvalue wrong?
Python numpy. Linalg. Eig sells its () function to solve the eigenvalue wrong?

Time:11-03



Business code would only write four years of development, the distributed high concurrency also can't be a programmer? ->>


C2=np. Array ([[5, 10], [10, 33]])

[V2, P2]=np. Linalg. Eig sells its (C2)

Print (V2, P2)

Print (np) dot (np) dot (P2), C2), P2. T))

The output frame for:
[1.79534947 36.20465053]

[[0.95229551 0.30517743]
[0.30517743 0.95229551]]

[[13.42011334 16.27466942]
[16.27466942 24.57988666]]

And right eigenvector should be
[[0.95229551 0.30517743]
[0.30517743 0.95229551]]
And linalg eig sells its () function to calculate the feature vector in the second column sent a minus sign
Check:
P3=np. Array ([[0.95229551, 0.30517743], [0.30517743, 0.95229551]])
Print (np) dot (np) dot (P3, C2), P3, T))
O
[[1.79534947 e+00 4.82620511 e-08]
[4.82620521 e-08 3.62046506 e+01]]
. So for this matrix linalg eig sells its () function to calculate the characteristic value is right, characteristic vector is wrong???
Have a great god know linalg eig sells its what approximation method is used in ()???????
Linalg. Eig sells its () function can't use the???????

CodePudding user response:

I also, characteristic vector of the second column checked a minus sign, the building Lord solved?
  • Related