📅  最后修改于: 2022-03-11 14:52:38.239000             🧑  作者: Mango
代码示例2
>>> a = np.array([[ 5, 1 ,3],
[ 1, 1 ,1],
[ 1, 2 ,1]])
>>> b = np.array([1, 2, 3])
>>> print a.dot(b)
array([16, 6, 8])