对矩阵操作sqrt的意思是对矩阵中的每个元素都开方,比如: from numpy import * import numpy as np. A = np.matrix([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
確定! 回上一頁