For numpy matrix vector multiplication you can use numpy.dot or a.dot(b). >>> a = np.array([[ 5, 1 ,3], [ 1, 1 ,1], [ 1, 2 ,1]]).
確定! 回上一頁