Ch-3-Prob-15-New-이승진

1915 days ago by matrix

D1=matrix(4,4,[[2,0,0,0],[0,-1/2,0,0],[0,0,3,0],[0,0,0,9]]) A=matrix(4,3,[[1,2,3],[-2,-4,-12],[1/3,1,2],[1/3,1/9,1]]) D2=matrix(3,3,[[2,0,0],[0,1,0],[0,0,1/3]]) print D1*A*D2 
       
[4 4 2]
[2 2 2]
[2 3 2]
[6 1 3]
[4 4 2]
[2 2 2]
[2 3 2]
[6 1 3]