LA Ch6 Exs Prob 5 by 김지윤

375 days ago by jykim

A=matrix(4, 4, [1/2*sqrt(2),1/2*sqrt(2),0,0,0,0,1,0,0,0,0,1,1/2*sqrt(2),-1/2*sqrt(2),0,0]) B=A*A.transpose() print "AA'=" print B 
       
AA'=
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]
AA'=
[1 0 0 0]
[0 1 0 0]
[0 0 1 0]
[0 0 0 1]