Computational Physics, Linear Algebra, Math, Mathematics, Science.
blue = '#1190FF' plotVectors([Av.flatten(), v.flatten()], cols=[blue, orange]) plt.ylim(-1, 7) plt.xlim(-1, 7) We can see both the vectors are lined up on top of each other and are also pointing in the same direction. Another eigenvector of A is : So the corresponding eigenvalue is 2. # the vector