Computational Physics, Linear Algebra, Math, Mathematics, Science.
first array corresponds to the eigenvalues and the second to the eigenvectors concatenated in columns): A = np.array([[5, 1], [3, 3]]) A np.linalg.eig(A) Out: (array([6., 2.]), array([[ 0.70710678, -0.31622777], [ 0.70710678, 0.9486833 ]])) We can see that the eigenvalues are the same than the ones