点击运行
from scipy import linalg import numpy as np A = np.array([[1,2],[3,4]]) l, v = linalg.eig(A) #打印特征值 print(l) #打印特征向量 print(v)
运行结果 :
正在执行...