想請問DAY4中np.trace()的意思?? ... np.trace() 會回傳array 的對角線數值總和且這個array 必須是2 維以上 ... np.trace(a) # 5.0 (= 左上的1 + 右下的4).
確定! 回上一頁