python 矩阵求逆
生活随笔
收集整理的這篇文章主要介紹了
python 矩阵求逆
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
4X4矩陣求逆:
import numpy as np A = np.mat("1 2 3 0; 4 5 6 0; 9 8 10 0;0 0 0 1") print("A\n", A) inverse = np.linalg.inv(A) print("inverse: \n", inverse)總結
以上是生活随笔為你收集整理的python 矩阵求逆的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 记一次confluence故障的RCA
- 下一篇: python ogr_python gd