📅  最后修改于: 2022-03-11 14:45:17.908000             🧑  作者: Mango
代码示例1
>>> 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])