Ch-3.1-ex-11-New-이승진

1916 days ago by matrix

A=matrix(QQ,[[1,2,3,4], [5,6,7,8],[6,5,4,3],[1,2,3,7]]) B=matrix(QQ,[[0,4,1,2], [9,0,1,2],[2,1,1,1],[5,1,0,1]]) print (A*B).trace() print (B*A).trace() 
       
110
110
110
110