Python, Linear Algebra, Numerical Analysis.
numpy as np from numpy.linalg import eig a = np.array([[0, 2], [2, 3]]) w,v=eig(a) print('E-value:', w) print('E-vector', v) The result will be : E-value: [-1. 4.] E-vector [[-0.89442719 -0.4472136 ] [ 0.4472136 -0.89442719]] Let’s try it with a bigger matrix such as below a = np.array([[2, 2, 4],