Matlab VS Python - eig(A,B) VS sc.linalg.eig(A,B)
问题 I have the following matrices sigma and sigmad: sigma: 1.9958 0.7250 0.7250 1.3167 sigmad: 4.8889 1.1944 1.1944 4.2361 If I try to solve the generalized eigenvalue problem in python I obtain: d,V = sc.linalg.eig(matrix(sigmad),matrix(sigma)) V: -1 -0.5614 -0.4352 1 If I try to solve the g. e. problem in matlab I obtain: [V,d]=eig(sigmad,sigma) V: -0.5897 -0.5278 -0.2564 0.9400 But the d's do coincide. 回答1: Any (nonzero) scalar multiple of an eigenvector will also be an eigenvector; only the