更新时间 2020-11-30
矩阵求逆 测试矩阵如下: A = \left[ \begin{array}{ccc} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 1 & 4 & 9 \\ \end{array} \right] A = \left[ \begin{array}{ccc} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 1 & 4 & 9 \\ \end{array} \right] import numpy as np # 初始化一个非奇异矩阵(数组) a = np.array([[1, 1, 1], [