例题2.36

例题2.36代码

import numpy as np
a = np.eye(4)
b = np.rot90(a)
c, d = np.linalg.eig(b)
print('特征值为:', c)
print('特征向量为:\n', d)


posted @ 2024-10-22 22:05  等我刷把宗师  阅读(1)  评论(0编辑  收藏  举报