向量對矩陣的乘法也是用dot()函式,注意得到的結果不是column vector,而是一維的陣列,很容易犯錯!! import numpy as np x = np.array([1,2]) Y = np.array([[1,2],[3 ...
確定! 回上一頁