a notation R3×3
this is a three dimensional vector , a notation R3
内标相同即可乘,前行×后列得一行 (可运用Python直接计算,参考用python检查矩阵的计算 )
we can use python to implement and for example :
from numpy import *
# 自行判断|A|≠0
# 求逆矩阵 ,建议:取小数点后一位化为分数
A = mat([[1, -1, 1],
[1, 1, 0],
[-1, 0, 1]])
B = A.I
print(B)
# [ 0.33333333 0.33333333 -0.33333333]
# [-0.33333333 0.66666667 0.33333333]
# [ 0.33333333 0.33333333 0.66666667]
# 0.333≈ 1/3 ,0.667≈ 2/3
Machine learning(3-Linear Algebra Review )
原文:https://www.cnblogs.com/wangzheming35/p/14861953.html