python - NumPy linalg.eig -


I have a problem with this problem and I still do not know that I have the matrix and I want to search the eigenvector, so I write:

  val, vec = np.linalg.eig (matrix)   

And then I got a VC. My problem occurs when other people in my group do the same matrix (matrix), we do not get the same eigenvectors!

Can someone put an explanation?

is the default property of an eigenvector x

 x  a  code      Eigenvector, such as  -x :  
  A (-x) = - Ax = - lambda x = lambda (-x)   

Also keep in mind that the set of eigenvectors can not be unique. For example, any vector (proper dimension) can be an eigenvector of identity matrix.

tries to return a set of eigenvectors, but does not guarantee a special, unique set.

Comments