numpy.matrix.A# 屬性 property matrix.A# 將 self 以 ndarray 物件形式回傳。 等同於 np.asarray(self)。 參數: None 回傳值: retndarray 陣列以 ndarray 形式表示的 self 範例 >>> x = np.matrix(np.arange(12).reshape((3,4))); x matrix([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11]]) >>> x.getA() array([[ 0, 1, 2, 3], [ 4, 5, 6, 7], [ 8, 9, 10, 11]])