eigenvalues = np.linalg.eigvals(A) #单纯的求解矩阵的特征值 1importnumpy as np23A = np.mat("1 2 3; 2 3 4; 5 4 6")#创建矩阵4print("A\n", A)56inverse =np.linalg.inv(A)7print("inverse\n", inverse)89eigenvalues = np.linalg.eigvals(A)#单纯的求解矩阵的特征值10print("eigenvalues...