Ch-3.1-C-25-New-박종우

1902 days ago by matrix

A=matrix([[2,-4,7,2], [2,-9,4,3], [6,5,1,0]]) B=matrix([[3,4,-5]]) C=matrix([[0], [4], [2],[-4]]) D=matrix([ [-3,5],[4,2]]) trD=D.trace() print "tr(D)*BAC=" print trD*B*A*C 
       
tr(D)*BAC=
[300]
tr(D)*BAC=
[300]